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

Unified Diff: base/threading/thread_restrictions.h

Issue 1248713002: ozone: ClientPixmapManager passes VGEM fd from browser to renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add IOSurfaceManager to ThreadRestrictions friend list. Created 5 years, 4 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 | content/browser/browser_main_loop.cc » ('j') | content/child/child_thread_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/threading/thread_restrictions.h
diff --git a/base/threading/thread_restrictions.h b/base/threading/thread_restrictions.h
index b6cfa723206980df9f1306846350b306d07280de..65f514be043a1f61ce4e921149282aa7521dc46d 100644
--- a/base/threading/thread_restrictions.h
+++ b/base/threading/thread_restrictions.h
@@ -38,6 +38,7 @@ class BrowserGpuChannelHostFactory;
class BrowserGpuMemoryBufferManager;
class BrowserShutdownProfileDumper;
class BrowserTestBase;
+class ChildIOSurfaceManager;
class GpuChannelHost;
class NestedMessagePumpAndroid;
class RenderWidgetResizeHelper;
@@ -68,6 +69,10 @@ namespace remoting {
class AutoThread;
}
+namespace ui {
+class ClientNativePixmapFactoryGbm;
+}
+
namespace base {
namespace android {
@@ -174,6 +179,7 @@ class BASE_EXPORT ThreadRestrictions {
// BEGIN ALLOWED USAGE.
friend class content::BrowserShutdownProfileDumper;
friend class content::BrowserTestBase;
+ friend class content::ChildIOSurfaceManager;
dcheng 2015/08/31 17:40:53 Did you talk to jam or brettw about adding this li
dshwang 2015/08/31 18:12:29 you reviewed old and deprecated patch set. current
friend class content::NestedMessagePumpAndroid;
friend class content::RenderWidgetResizeHelper;
friend class content::ScopedAllowWaitForAndroidLayoutTests;
@@ -191,6 +197,7 @@ class BASE_EXPORT ThreadRestrictions {
friend class ThreadTestHelper;
friend class PlatformThread;
friend class android::JavaHandlerThread;
+ friend class ui::ClientNativePixmapFactoryGbm;
// END ALLOWED USAGE.
// BEGIN USAGE THAT NEEDS TO BE FIXED.
« no previous file with comments | « no previous file | content/browser/browser_main_loop.cc » ('j') | content/child/child_thread_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698