Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(606)

Unified Diff: third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.h

Issue 2464853002: Add crash keys to TaskQueueManager::ProcessTaskFromWorkQueue (Closed)
Patch Set: Added missing periods Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.h
diff --git a/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.h b/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.h
index b7847479f93670f72a03daef1a47d1736ccde565..e7acbcd52d4e6f1d575a802bb57b2cdae3976215 100644
--- a/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.h
+++ b/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.h
@@ -62,7 +62,8 @@ class BLINK_PLATFORM_EXPORT TaskQueueManager
TaskQueueManager(scoped_refptr<TaskQueueManagerDelegate> delegate,
const char* tracing_category,
const char* disabled_by_default_tracing_category,
- const char* disabled_by_default_verbose_tracing_category);
+ const char* disabled_by_default_verbose_tracing_category,
+ bool set_crash_keys = false);
~TaskQueueManager() override;
// Requests that a task to process work is posted on the main task runner.
@@ -241,6 +242,8 @@ class BLINK_PLATFORM_EXPORT TaskQueueManager
mutable base::Lock other_thread_lock_;
bool other_thread_pending_wakeup_;
+ bool set_crash_keys_;
+
int work_batch_size_;
size_t task_count_;

Powered by Google App Engine
This is Rietveld 408576698