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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | content/browser/browser_main_loop.cc » ('j') | content/child/child_thread_impl.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BASE_THREADING_THREAD_RESTRICTIONS_H_ 5 #ifndef BASE_THREADING_THREAD_RESTRICTIONS_H_
6 #define BASE_THREADING_THREAD_RESTRICTIONS_H_ 6 #define BASE_THREADING_THREAD_RESTRICTIONS_H_
7 7
8 #include "base/base_export.h" 8 #include "base/base_export.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 10
(...skipping 20 matching lines...) Expand all
31 } 31 }
32 } 32 }
33 namespace chrome_browser_net { 33 namespace chrome_browser_net {
34 class Predictor; 34 class Predictor;
35 } 35 }
36 namespace content { 36 namespace content {
37 class BrowserGpuChannelHostFactory; 37 class BrowserGpuChannelHostFactory;
38 class BrowserGpuMemoryBufferManager; 38 class BrowserGpuMemoryBufferManager;
39 class BrowserShutdownProfileDumper; 39 class BrowserShutdownProfileDumper;
40 class BrowserTestBase; 40 class BrowserTestBase;
41 class ChildIOSurfaceManager;
41 class GpuChannelHost; 42 class GpuChannelHost;
42 class NestedMessagePumpAndroid; 43 class NestedMessagePumpAndroid;
43 class RenderWidgetResizeHelper; 44 class RenderWidgetResizeHelper;
44 class ScopedAllowWaitForAndroidLayoutTests; 45 class ScopedAllowWaitForAndroidLayoutTests;
45 class ScopedAllowWaitForDebugURL; 46 class ScopedAllowWaitForDebugURL;
46 class TextInputClientMac; 47 class TextInputClientMac;
47 } // namespace content 48 } // namespace content
48 namespace dbus { 49 namespace dbus {
49 class Bus; 50 class Bus;
50 } 51 }
(...skipping 10 matching lines...) Expand all
61 class NetworkChangeNotifierMac; 62 class NetworkChangeNotifierMac;
62 namespace internal { 63 namespace internal {
63 class AddressTrackerLinux; 64 class AddressTrackerLinux;
64 } 65 }
65 } 66 }
66 67
67 namespace remoting { 68 namespace remoting {
68 class AutoThread; 69 class AutoThread;
69 } 70 }
70 71
72 namespace ui {
73 class ClientNativePixmapFactoryGbm;
74 }
75
71 namespace base { 76 namespace base {
72 77
73 namespace android { 78 namespace android {
74 class JavaHandlerThread; 79 class JavaHandlerThread;
75 } 80 }
76 81
77 class SequencedWorkerPool; 82 class SequencedWorkerPool;
78 class SimpleThread; 83 class SimpleThread;
79 class Thread; 84 class Thread;
80 class ThreadTestHelper; 85 class ThreadTestHelper;
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 static void AssertSingletonAllowed() {} 172 static void AssertSingletonAllowed() {}
168 static void DisallowWaiting() {} 173 static void DisallowWaiting() {}
169 static void AssertWaitAllowed() {} 174 static void AssertWaitAllowed() {}
170 #endif 175 #endif
171 176
172 private: 177 private:
173 // DO NOT ADD ANY OTHER FRIEND STATEMENTS, talk to jam or brettw first. 178 // DO NOT ADD ANY OTHER FRIEND STATEMENTS, talk to jam or brettw first.
174 // BEGIN ALLOWED USAGE. 179 // BEGIN ALLOWED USAGE.
175 friend class content::BrowserShutdownProfileDumper; 180 friend class content::BrowserShutdownProfileDumper;
176 friend class content::BrowserTestBase; 181 friend class content::BrowserTestBase;
182 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
177 friend class content::NestedMessagePumpAndroid; 183 friend class content::NestedMessagePumpAndroid;
178 friend class content::RenderWidgetResizeHelper; 184 friend class content::RenderWidgetResizeHelper;
179 friend class content::ScopedAllowWaitForAndroidLayoutTests; 185 friend class content::ScopedAllowWaitForAndroidLayoutTests;
180 friend class content::ScopedAllowWaitForDebugURL; 186 friend class content::ScopedAllowWaitForDebugURL;
181 friend class ::HistogramSynchronizer; 187 friend class ::HistogramSynchronizer;
182 friend class ::ScopedAllowWaitForLegacyWebViewApi; 188 friend class ::ScopedAllowWaitForLegacyWebViewApi;
183 friend class cc::CompletionEvent; 189 friend class cc::CompletionEvent;
184 friend class cc::TaskGraphRunner; 190 friend class cc::TaskGraphRunner;
185 friend class mojo::common::WatcherThreadManager; 191 friend class mojo::common::WatcherThreadManager;
186 friend class remoting::AutoThread; 192 friend class remoting::AutoThread;
187 friend class MessagePumpDefault; 193 friend class MessagePumpDefault;
188 friend class SequencedWorkerPool; 194 friend class SequencedWorkerPool;
189 friend class SimpleThread; 195 friend class SimpleThread;
190 friend class Thread; 196 friend class Thread;
191 friend class ThreadTestHelper; 197 friend class ThreadTestHelper;
192 friend class PlatformThread; 198 friend class PlatformThread;
193 friend class android::JavaHandlerThread; 199 friend class android::JavaHandlerThread;
200 friend class ui::ClientNativePixmapFactoryGbm;
194 201
195 // END ALLOWED USAGE. 202 // END ALLOWED USAGE.
196 // BEGIN USAGE THAT NEEDS TO BE FIXED. 203 // BEGIN USAGE THAT NEEDS TO BE FIXED.
197 friend class ::chromeos::BlockingMethodCaller; // http://crbug.com/125360 204 friend class ::chromeos::BlockingMethodCaller; // http://crbug.com/125360
198 friend class ::chromeos::system::StatisticsProviderImpl; // http://crbug.com/ 125385 205 friend class ::chromeos::system::StatisticsProviderImpl; // http://crbug.com/ 125385
199 friend class chrome_browser_net::Predictor; // http://crbug.com/78451 206 friend class chrome_browser_net::Predictor; // http://crbug.com/78451
200 friend class 207 friend class
201 content::BrowserGpuChannelHostFactory; // http://crbug.com/125248 208 content::BrowserGpuChannelHostFactory; // http://crbug.com/125248
202 friend class 209 friend class
203 content::BrowserGpuMemoryBufferManager; // http://crbug.com/420368 210 content::BrowserGpuMemoryBufferManager; // http://crbug.com/420368
(...skipping 29 matching lines...) Expand all
233 240
234 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait); 241 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait);
235 }; 242 };
236 243
237 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions); 244 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions);
238 }; 245 };
239 246
240 } // namespace base 247 } // namespace base
241 248
242 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_ 249 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_
OLDNEW
« 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