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

Unified Diff: base/threading/thread_restrictions.h

Issue 12356002: [NOT FOR COMMIT] Hacks to merge render compositor thread with UI thread (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: New thread restriction allows (incomplete patch) Created 7 years, 10 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 51cfa27a056b530215432a5d6ff85625f93cf7c0..322e75b31c3c07d48100cb5720dcd2dde368aa37 100644
--- a/base/threading/thread_restrictions.h
+++ b/base/threading/thread_restrictions.h
@@ -47,6 +47,9 @@ class GLHelper;
class GpuChannelHost;
class RenderWidgetHelper;
class TextInputClientMac;
+
+class RenderThreadImpl;
+class CommandBufferProxyImpl;
}
namespace dbus {
class Bus;
@@ -207,6 +210,9 @@ class BASE_EXPORT ThreadRestrictions {
friend class ::BrowserProcessImpl; // http://crbug.com/125207
friend class ::MetricsService; // http://crbug.com/124954
friend class ::NativeBackendKWallet; // http://crbug.com/125331
+
+ friend class content::RenderThreadImpl;
+ friend class content::CommandBufferProxyImpl;
// END USAGE THAT NEEDS TO BE FIXED.
#if ENABLE_THREAD_RESTRICTIONS

Powered by Google App Engine
This is Rietveld 408576698