| 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/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 | 10 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 namespace dbus { | 54 namespace dbus { |
| 55 class Bus; | 55 class Bus; |
| 56 } | 56 } |
| 57 namespace disk_cache { | 57 namespace disk_cache { |
| 58 class BackendImpl; | 58 class BackendImpl; |
| 59 class InFlightIO; | 59 class InFlightIO; |
| 60 } | 60 } |
| 61 namespace media { | 61 namespace media { |
| 62 class AudioOutputController; | 62 class AudioOutputController; |
| 63 } | 63 } |
| 64 namespace mojo { |
| 65 namespace common { |
| 66 class WatcherThreadManager; |
| 67 } |
| 68 } |
| 64 namespace net { | 69 namespace net { |
| 65 class FileStreamPosix; | 70 class FileStreamPosix; |
| 66 class FileStreamWin; | 71 class FileStreamWin; |
| 67 namespace internal { | 72 namespace internal { |
| 68 class AddressTrackerLinux; | 73 class AddressTrackerLinux; |
| 69 } | 74 } |
| 70 } | 75 } |
| 71 | 76 |
| 72 namespace remoting { | 77 namespace remoting { |
| 73 class AutoThread; | 78 class AutoThread; |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 // BEGIN ALLOWED USAGE. | 184 // BEGIN ALLOWED USAGE. |
| 180 friend class content::BrowserShutdownProfileDumper; | 185 friend class content::BrowserShutdownProfileDumper; |
| 181 friend class content::BrowserTestBase; | 186 friend class content::BrowserTestBase; |
| 182 friend class content::NestedMessagePumpAndroid; | 187 friend class content::NestedMessagePumpAndroid; |
| 183 friend class content::RenderWidgetResizeHelper; | 188 friend class content::RenderWidgetResizeHelper; |
| 184 friend class content::ScopedAllowWaitForAndroidLayoutTests; | 189 friend class content::ScopedAllowWaitForAndroidLayoutTests; |
| 185 friend class ::HistogramSynchronizer; | 190 friend class ::HistogramSynchronizer; |
| 186 friend class ::ScopedAllowWaitForLegacyWebViewApi; | 191 friend class ::ScopedAllowWaitForLegacyWebViewApi; |
| 187 friend class ::TestingAutomationProvider; | 192 friend class ::TestingAutomationProvider; |
| 188 friend class cc::CompletionEvent; | 193 friend class cc::CompletionEvent; |
| 194 friend class mojo::common::WatcherThreadManager; |
| 189 friend class remoting::AutoThread; | 195 friend class remoting::AutoThread; |
| 190 friend class MessagePumpDefault; | 196 friend class MessagePumpDefault; |
| 191 friend class SequencedWorkerPool; | 197 friend class SequencedWorkerPool; |
| 192 friend class SimpleThread; | 198 friend class SimpleThread; |
| 193 friend class Thread; | 199 friend class Thread; |
| 194 friend class ThreadTestHelper; | 200 friend class ThreadTestHelper; |
| 195 friend class PlatformThread; | 201 friend class PlatformThread; |
| 196 friend class android::JavaHandlerThread; | 202 friend class android::JavaHandlerThread; |
| 197 | 203 |
| 198 // END ALLOWED USAGE. | 204 // END ALLOWED USAGE. |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 | 248 |
| 243 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait); | 249 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait); |
| 244 }; | 250 }; |
| 245 | 251 |
| 246 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions); | 252 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions); |
| 247 }; | 253 }; |
| 248 | 254 |
| 249 } // namespace base | 255 } // namespace base |
| 250 | 256 |
| 251 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_ | 257 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_ |
| OLD | NEW |