| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 namespace internal { | 61 namespace internal { |
| 62 class AddressTrackerLinux; | 62 class AddressTrackerLinux; |
| 63 } | 63 } |
| 64 } | 64 } |
| 65 | 65 |
| 66 namespace remoting { | 66 namespace remoting { |
| 67 class AutoThread; | 67 class AutoThread; |
| 68 } | 68 } |
| 69 | 69 |
| 70 namespace ui { | 70 namespace ui { |
| 71 class WindowResizeHelperMac; | 71 class WindowResizeHelper; |
| 72 } | 72 } |
| 73 | 73 |
| 74 namespace views { | 74 namespace views { |
| 75 class WindowManagerConnection; | 75 class WindowManagerConnection; |
| 76 } | 76 } |
| 77 | 77 |
| 78 namespace base { | 78 namespace base { |
| 79 | 79 |
| 80 namespace android { | 80 namespace android { |
| 81 class JavaHandlerThread; | 81 class JavaHandlerThread; |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 friend class content::BrowserTestBase; | 183 friend class content::BrowserTestBase; |
| 184 friend class content::NestedMessagePumpAndroid; | 184 friend class content::NestedMessagePumpAndroid; |
| 185 friend class content::ScopedAllowWaitForAndroidLayoutTests; | 185 friend class content::ScopedAllowWaitForAndroidLayoutTests; |
| 186 friend class content::ScopedAllowWaitForDebugURL; | 186 friend class content::ScopedAllowWaitForDebugURL; |
| 187 friend class ::HistogramSynchronizer; | 187 friend class ::HistogramSynchronizer; |
| 188 friend class ::ScopedAllowWaitForLegacyWebViewApi; | 188 friend class ::ScopedAllowWaitForLegacyWebViewApi; |
| 189 friend class cc::CompletionEvent; | 189 friend class cc::CompletionEvent; |
| 190 friend class cc::SingleThreadTaskGraphRunner; | 190 friend class cc::SingleThreadTaskGraphRunner; |
| 191 friend class content::RasterWorkerPool; | 191 friend class content::RasterWorkerPool; |
| 192 friend class remoting::AutoThread; | 192 friend class remoting::AutoThread; |
| 193 friend class ui::WindowResizeHelperMac; | 193 friend class ui::WindowResizeHelper; |
| 194 friend class MessagePumpDefault; | 194 friend class MessagePumpDefault; |
| 195 friend class SequencedWorkerPool; | 195 friend class SequencedWorkerPool; |
| 196 friend class SimpleThread; | 196 friend class SimpleThread; |
| 197 friend class Thread; | 197 friend class Thread; |
| 198 friend class ThreadTestHelper; | 198 friend class ThreadTestHelper; |
| 199 friend class PlatformThread; | 199 friend class PlatformThread; |
| 200 friend class android::JavaHandlerThread; | 200 friend class android::JavaHandlerThread; |
| 201 friend class gles2::CommandBufferClientImpl; | 201 friend class gles2::CommandBufferClientImpl; |
| 202 | 202 |
| 203 // END ALLOWED USAGE. | 203 // END ALLOWED USAGE. |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 | 245 |
| 246 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait); | 246 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait); |
| 247 }; | 247 }; |
| 248 | 248 |
| 249 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions); | 249 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions); |
| 250 }; | 250 }; |
| 251 | 251 |
| 252 } // namespace base | 252 } // namespace base |
| 253 | 253 |
| 254 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_ | 254 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_ |
| OLD | NEW |