| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 class ScopedAllowWaitForDebugURL; | 44 class ScopedAllowWaitForDebugURL; |
| 45 class TextInputClientMac; | 45 class TextInputClientMac; |
| 46 } // namespace content | 46 } // namespace content |
| 47 namespace dbus { | 47 namespace dbus { |
| 48 class Bus; | 48 class Bus; |
| 49 } | 49 } |
| 50 namespace disk_cache { | 50 namespace disk_cache { |
| 51 class BackendImpl; | 51 class BackendImpl; |
| 52 class InFlightIO; | 52 class InFlightIO; |
| 53 } | 53 } |
| 54 namespace gles2 { |
| 55 class CommandBufferClientImpl; |
| 56 } |
| 54 namespace mojo { | 57 namespace mojo { |
| 55 namespace common { | 58 namespace common { |
| 56 class WatcherThreadManager; | 59 class WatcherThreadManager; |
| 57 } | 60 } |
| 58 } | 61 } |
| 59 namespace net { | 62 namespace net { |
| 60 class NetworkChangeNotifierMac; | 63 class NetworkChangeNotifierMac; |
| 61 namespace internal { | 64 namespace internal { |
| 62 class AddressTrackerLinux; | 65 class AddressTrackerLinux; |
| 63 } | 66 } |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 friend class mojo::common::WatcherThreadManager; | 190 friend class mojo::common::WatcherThreadManager; |
| 188 friend class remoting::AutoThread; | 191 friend class remoting::AutoThread; |
| 189 friend class ui::WindowResizeHelperMac; | 192 friend class ui::WindowResizeHelperMac; |
| 190 friend class MessagePumpDefault; | 193 friend class MessagePumpDefault; |
| 191 friend class SequencedWorkerPool; | 194 friend class SequencedWorkerPool; |
| 192 friend class SimpleThread; | 195 friend class SimpleThread; |
| 193 friend class Thread; | 196 friend class Thread; |
| 194 friend class ThreadTestHelper; | 197 friend class ThreadTestHelper; |
| 195 friend class PlatformThread; | 198 friend class PlatformThread; |
| 196 friend class android::JavaHandlerThread; | 199 friend class android::JavaHandlerThread; |
| 200 friend class gles2::CommandBufferClientImpl; |
| 197 | 201 |
| 198 // END ALLOWED USAGE. | 202 // END ALLOWED USAGE. |
| 199 // BEGIN USAGE THAT NEEDS TO BE FIXED. | 203 // BEGIN USAGE THAT NEEDS TO BE FIXED. |
| 200 friend class ::chromeos::BlockingMethodCaller; // http://crbug.com/125360 | 204 friend class ::chromeos::BlockingMethodCaller; // http://crbug.com/125360 |
| 201 friend class ::chromeos::system::StatisticsProviderImpl; // http://crbug.com/
125385 | 205 friend class ::chromeos::system::StatisticsProviderImpl; // http://crbug.com/
125385 |
| 202 friend class chrome_browser_net::Predictor; // http://crbug.com/78451 | 206 friend class chrome_browser_net::Predictor; // http://crbug.com/78451 |
| 203 friend class | 207 friend class |
| 204 content::BrowserGpuChannelHostFactory; // http://crbug.com/125248 | 208 content::BrowserGpuChannelHostFactory; // http://crbug.com/125248 |
| 205 friend class | 209 friend class |
| 206 content::BrowserGpuMemoryBufferManager; // http://crbug.com/420368 | 210 content::BrowserGpuMemoryBufferManager; // http://crbug.com/420368 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 236 | 240 |
| 237 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait); | 241 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait); |
| 238 }; | 242 }; |
| 239 | 243 |
| 240 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions); | 244 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions); |
| 241 }; | 245 }; |
| 242 | 246 |
| 243 } // namespace base | 247 } // namespace base |
| 244 | 248 |
| 245 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_ | 249 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_ |
| OLD | NEW |