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

Unified Diff: base/threading/thread_restrictions.h

Issue 2554123002: Support parallel captures from the StackSamplingProfiler. (Closed)
Patch Set: more tests; improved tests Created 3 years, 9 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
Index: base/threading/thread_restrictions.h
diff --git a/base/threading/thread_restrictions.h b/base/threading/thread_restrictions.h
index 8f3beb1d1a24b686e5810dceb9b190d53e345e04..cfc6df9da1802e89d14a834458211e328fe4757b 100644
--- a/base/threading/thread_restrictions.h
+++ b/base/threading/thread_restrictions.h
@@ -92,6 +92,7 @@ class TaskTracker;
class SequencedWorkerPool;
class SimpleThread;
+class StackSamplingProfiler;
class Thread;
class ThreadTestHelper;
@@ -174,6 +175,7 @@ class BASE_EXPORT ThreadRestrictions {
private:
// DO NOT ADD ANY OTHER FRIEND STATEMENTS, talk to jam or brettw first.
// BEGIN ALLOWED USAGE.
+ friend class base::StackSamplingProfiler;
friend class content::BrowserShutdownProfileDumper;
friend class content::BrowserSurfaceViewManager;
friend class content::BrowserTestBase;

Powered by Google App Engine
This is Rietveld 408576698