OLD | NEW |
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/macros.h" | 9 #include "base/macros.h" |
10 | 10 |
(...skipping 20 matching lines...) Expand all Loading... |
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 GpuChannelHost; | |
42 class NestedMessagePumpAndroid; | 41 class NestedMessagePumpAndroid; |
43 class ScopedAllowWaitForAndroidLayoutTests; | 42 class ScopedAllowWaitForAndroidLayoutTests; |
44 class ScopedAllowWaitForDebugURL; | 43 class ScopedAllowWaitForDebugURL; |
45 class SoftwareOutputDeviceMus; | 44 class SoftwareOutputDeviceMus; |
46 class TextInputClientMac; | 45 class TextInputClientMac; |
47 class RasterWorkerPool; | 46 class RasterWorkerPool; |
48 } // namespace content | 47 } // namespace content |
49 namespace dbus { | 48 namespace dbus { |
50 class Bus; | 49 class Bus; |
51 } | 50 } |
52 namespace disk_cache { | 51 namespace disk_cache { |
53 class BackendImpl; | 52 class BackendImpl; |
54 class InFlightIO; | 53 class InFlightIO; |
55 } | 54 } |
56 namespace gles2 { | 55 namespace gles2 { |
57 class CommandBufferClientImpl; | 56 class CommandBufferClientImpl; |
58 } | 57 } |
| 58 namespace gpu { |
| 59 class GpuChannelHost; |
| 60 } |
59 namespace mojo { | 61 namespace mojo { |
60 namespace common { | 62 namespace common { |
61 class MessagePumpMojo; | 63 class MessagePumpMojo; |
62 } | 64 } |
63 } | 65 } |
64 namespace mus { | 66 namespace mus { |
65 class CommandBufferLocal; | 67 class CommandBufferLocal; |
66 class GpuState; | 68 class GpuState; |
67 } | 69 } |
68 namespace net { | 70 namespace net { |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 | 216 |
215 // END ALLOWED USAGE. | 217 // END ALLOWED USAGE. |
216 // BEGIN USAGE THAT NEEDS TO BE FIXED. | 218 // BEGIN USAGE THAT NEEDS TO BE FIXED. |
217 friend class ::chromeos::BlockingMethodCaller; // http://crbug.com/125360 | 219 friend class ::chromeos::BlockingMethodCaller; // http://crbug.com/125360 |
218 friend class ::chromeos::system::StatisticsProviderImpl; // http://crbug.com/
125385 | 220 friend class ::chromeos::system::StatisticsProviderImpl; // http://crbug.com/
125385 |
219 friend class chrome_browser_net::Predictor; // http://crbug.com/78451 | 221 friend class chrome_browser_net::Predictor; // http://crbug.com/78451 |
220 friend class | 222 friend class |
221 content::BrowserGpuChannelHostFactory; // http://crbug.com/125248 | 223 content::BrowserGpuChannelHostFactory; // http://crbug.com/125248 |
222 friend class | 224 friend class |
223 content::BrowserGpuMemoryBufferManager; // http://crbug.com/420368 | 225 content::BrowserGpuMemoryBufferManager; // http://crbug.com/420368 |
224 friend class content::GpuChannelHost; // http://crbug.com/125264 | |
225 friend class content::TextInputClientMac; // http://crbug.com/121917 | 226 friend class content::TextInputClientMac; // http://crbug.com/121917 |
226 friend class dbus::Bus; // http://crbug.com/125222 | 227 friend class dbus::Bus; // http://crbug.com/125222 |
227 friend class disk_cache::BackendImpl; // http://crbug.com/74623 | 228 friend class disk_cache::BackendImpl; // http://crbug.com/74623 |
228 friend class disk_cache::InFlightIO; // http://crbug.com/74623 | 229 friend class disk_cache::InFlightIO; // http://crbug.com/74623 |
| 230 friend class gpu::GpuChannelHost; // http://crbug.com/125264 |
229 friend class net::internal::AddressTrackerLinux; // http://crbug.com/125097 | 231 friend class net::internal::AddressTrackerLinux; // http://crbug.com/125097 |
230 friend class net::NetworkChangeNotifierMac; // http://crbug.com/125097 | 232 friend class net::NetworkChangeNotifierMac; // http://crbug.com/125097 |
231 friend class ::BrowserProcessImpl; // http://crbug.com/125207 | 233 friend class ::BrowserProcessImpl; // http://crbug.com/125207 |
232 friend class ::NativeBackendKWallet; // http://crbug.com/125331 | 234 friend class ::NativeBackendKWallet; // http://crbug.com/125331 |
233 #if !defined(OFFICIAL_BUILD) | 235 #if !defined(OFFICIAL_BUILD) |
234 friend class content::SoftwareOutputDeviceMus; // Interim non-production code | 236 friend class content::SoftwareOutputDeviceMus; // Interim non-production code |
235 #endif | 237 #endif |
236 friend class views::ScreenMus; | 238 friend class views::ScreenMus; |
237 // END USAGE THAT NEEDS TO BE FIXED. | 239 // END USAGE THAT NEEDS TO BE FIXED. |
238 | 240 |
(...skipping 18 matching lines...) Expand all Loading... |
257 | 259 |
258 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait); | 260 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait); |
259 }; | 261 }; |
260 | 262 |
261 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions); | 263 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions); |
262 }; | 264 }; |
263 | 265 |
264 } // namespace base | 266 } // namespace base |
265 | 267 |
266 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_ | 268 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_ |
OLD | NEW |