| 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/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 namespace system { | 27 namespace system { |
| 28 class StatisticsProviderImpl; | 28 class StatisticsProviderImpl; |
| 29 } | 29 } |
| 30 } | 30 } |
| 31 namespace chrome_browser_net { | 31 namespace chrome_browser_net { |
| 32 class Predictor; | 32 class Predictor; |
| 33 } | 33 } |
| 34 namespace content { | 34 namespace content { |
| 35 class BrowserGpuChannelHostFactory; | 35 class BrowserGpuChannelHostFactory; |
| 36 class BrowserGpuMemoryBufferManager; | 36 class BrowserGpuMemoryBufferManager; |
| 37 class BrowserMainLoop; |
| 37 class BrowserShutdownProfileDumper; | 38 class BrowserShutdownProfileDumper; |
| 38 class BrowserSurfaceViewManager; | 39 class BrowserSurfaceViewManager; |
| 39 class BrowserTestBase; | 40 class BrowserTestBase; |
| 41 class CategorizedWorkerPool; |
| 40 class NestedMessagePumpAndroid; | 42 class NestedMessagePumpAndroid; |
| 41 class ScopedAllowWaitForAndroidLayoutTests; | 43 class ScopedAllowWaitForAndroidLayoutTests; |
| 42 class ScopedAllowWaitForDebugURL; | 44 class ScopedAllowWaitForDebugURL; |
| 43 class SoftwareOutputDeviceMus; | 45 class SoftwareOutputDeviceMus; |
| 44 class SynchronousCompositor; | 46 class SynchronousCompositor; |
| 45 class SynchronousCompositorBrowserFilter; | 47 class SynchronousCompositorBrowserFilter; |
| 46 class SynchronousCompositorHost; | 48 class SynchronousCompositorHost; |
| 47 class TextInputClientMac; | 49 class TextInputClientMac; |
| 48 class CategorizedWorkerPool; | |
| 49 } // namespace content | 50 } // namespace content |
| 50 namespace dbus { | 51 namespace dbus { |
| 51 class Bus; | 52 class Bus; |
| 52 } | 53 } |
| 53 namespace disk_cache { | 54 namespace disk_cache { |
| 54 class BackendImpl; | 55 class BackendImpl; |
| 55 class InFlightIO; | 56 class InFlightIO; |
| 56 } | 57 } |
| 57 namespace gpu { | 58 namespace gpu { |
| 58 class GpuChannelHost; | 59 class GpuChannelHost; |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 static void DisallowWaiting() {} | 179 static void DisallowWaiting() {} |
| 179 static void AssertWaitAllowed() {} | 180 static void AssertWaitAllowed() {} |
| 180 #endif | 181 #endif |
| 181 | 182 |
| 182 private: | 183 private: |
| 183 // DO NOT ADD ANY OTHER FRIEND STATEMENTS, talk to jam or brettw first. | 184 // DO NOT ADD ANY OTHER FRIEND STATEMENTS, talk to jam or brettw first. |
| 184 // BEGIN ALLOWED USAGE. | 185 // BEGIN ALLOWED USAGE. |
| 185 friend class android_webview::AwFormDatabaseService; | 186 friend class android_webview::AwFormDatabaseService; |
| 186 friend class android_webview::CookieManager; | 187 friend class android_webview::CookieManager; |
| 187 friend class base::StackSamplingProfiler; | 188 friend class base::StackSamplingProfiler; |
| 189 friend class content::BrowserMainLoop; |
| 188 friend class content::BrowserShutdownProfileDumper; | 190 friend class content::BrowserShutdownProfileDumper; |
| 189 friend class content::BrowserSurfaceViewManager; | 191 friend class content::BrowserSurfaceViewManager; |
| 190 friend class content::BrowserTestBase; | 192 friend class content::BrowserTestBase; |
| 191 friend class content::NestedMessagePumpAndroid; | 193 friend class content::NestedMessagePumpAndroid; |
| 192 friend class content::ScopedAllowWaitForAndroidLayoutTests; | 194 friend class content::ScopedAllowWaitForAndroidLayoutTests; |
| 193 friend class content::ScopedAllowWaitForDebugURL; | 195 friend class content::ScopedAllowWaitForDebugURL; |
| 194 friend class content::SynchronousCompositor; | 196 friend class content::SynchronousCompositor; |
| 195 friend class content::SynchronousCompositorBrowserFilter; | 197 friend class content::SynchronousCompositorBrowserFilter; |
| 196 friend class content::SynchronousCompositorHost; | 198 friend class content::SynchronousCompositorHost; |
| 197 friend class ::HistogramSynchronizer; | 199 friend class ::HistogramSynchronizer; |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 | 261 |
| 260 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait); | 262 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait); |
| 261 }; | 263 }; |
| 262 | 264 |
| 263 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions); | 265 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions); |
| 264 }; | 266 }; |
| 265 | 267 |
| 266 } // namespace base | 268 } // namespace base |
| 267 | 269 |
| 268 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_ | 270 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_ |
| OLD | NEW |