aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-chrome_browser_task__manager_sampling_task__group__sampler.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-chrome_browser_task__manager_sampling_task__group__sampler.h')
-rw-r--r--www/chromium/files/patch-chrome_browser_task__manager_sampling_task__group__sampler.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/www/chromium/files/patch-chrome_browser_task__manager_sampling_task__group__sampler.h b/www/chromium/files/patch-chrome_browser_task__manager_sampling_task__group__sampler.h
index 9dd8365bf649..69ed2530f60f 100644
--- a/www/chromium/files/patch-chrome_browser_task__manager_sampling_task__group__sampler.h
+++ b/www/chromium/files/patch-chrome_browser_task__manager_sampling_task__group__sampler.h
@@ -1,6 +1,6 @@
---- chrome/browser/task_manager/sampling/task_group_sampler.h.orig 2021-04-14 18:40:55 UTC
+--- chrome/browser/task_manager/sampling/task_group_sampler.h.orig 2021-07-19 18:45:09 UTC
+++ chrome/browser/task_manager/sampling/task_group_sampler.h
-@@ -32,9 +32,9 @@ class TaskGroupSampler : public base::RefCountedThread
+@@ -31,9 +31,9 @@ class TaskGroupSampler : public base::RefCountedThread
using OnCpuRefreshCallback = base::RepeatingCallback<void(double)>;
using OnSwappedMemRefreshCallback = base::RepeatingCallback<void(int64_t)>;
using OnIdleWakeupsCallback = base::RepeatingCallback<void(int)>;
@@ -12,7 +12,7 @@
using OnProcessPriorityCallback = base::RepeatingCallback<void(bool)>;
TaskGroupSampler(
-@@ -43,9 +43,9 @@ class TaskGroupSampler : public base::RefCountedThread
+@@ -42,9 +42,9 @@ class TaskGroupSampler : public base::RefCountedThread
const OnCpuRefreshCallback& on_cpu_refresh,
const OnSwappedMemRefreshCallback& on_memory_refresh,
const OnIdleWakeupsCallback& on_idle_wakeups,
@@ -23,8 +23,8 @@
+#endif // defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_MAC) || defined(OS_BSD)
const OnProcessPriorityCallback& on_process_priority);
- // Refreshes the expensive process' stats (CPU usage, memory usage, and idle
-@@ -60,9 +60,9 @@ class TaskGroupSampler : public base::RefCountedThread
+ TaskGroupSampler(const TaskGroupSampler&) = delete;
+@@ -62,9 +62,9 @@ class TaskGroupSampler : public base::RefCountedThread
double RefreshCpuUsage();
int64_t RefreshSwappedMem();
int RefreshIdleWakeupsPerSecond();
@@ -36,7 +36,7 @@
bool RefreshProcessPriority();
// The process that holds the handle that we own so that we can use it for
-@@ -84,9 +84,9 @@ class TaskGroupSampler : public base::RefCountedThread
+@@ -86,9 +86,9 @@ class TaskGroupSampler : public base::RefCountedThread
const OnCpuRefreshCallback on_cpu_refresh_callback_;
const OnSwappedMemRefreshCallback on_swapped_mem_refresh_callback_;
const OnIdleWakeupsCallback on_idle_wakeups_callback_;