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

Unified Diff: base/trace_event/blame_context.h

Issue 1916843003: Ensure Origin Thread Affinity for BlameContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Error fix Created 4 years, 8 months 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
« no previous file with comments | « no previous file | base/trace_event/blame_context.cc » ('j') | base/trace_event/blame_context.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/trace_event/blame_context.h
diff --git a/base/trace_event/blame_context.h b/base/trace_event/blame_context.h
index 81c35afc8b932e0533874dbf43beae418817e6d2..7aa436acb2362d14ad42db3b08188d10db8f6081 100644
--- a/base/trace_event/blame_context.h
+++ b/base/trace_event/blame_context.h
@@ -9,6 +9,7 @@
#include "base/base_export.h"
#include "base/macros.h"
+#include "base/threading/thread_checker.h"
#include "base/trace_event/trace_log.h"
namespace base {
@@ -120,6 +121,10 @@ class BASE_EXPORT BlameContext
const unsigned char* category_group_enabled_;
+ ThreadChecker thread_checker_;
+ scoped_refptr<SingleThreadTaskRunner> task_runner_;
+ WeakPtrFactory<BlameContext> weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(BlameContext);
};
« no previous file with comments | « no previous file | base/trace_event/blame_context.cc » ('j') | base/trace_event/blame_context.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698