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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 } | 45 } |
46 namespace disk_cache { | 46 namespace disk_cache { |
47 class BackendImpl; | 47 class BackendImpl; |
48 class InFlightIO; | 48 class InFlightIO; |
49 } | 49 } |
50 namespace gpu { | 50 namespace gpu { |
51 class GpuChannelHost; | 51 class GpuChannelHost; |
52 } | 52 } |
53 namespace mojo { | 53 namespace mojo { |
54 class SyncCallRestrictions; | 54 class SyncCallRestrictions; |
| 55 namespace edk { |
| 56 class ScopedIPCSupport; |
| 57 } |
55 } | 58 } |
56 namespace ui { | 59 namespace ui { |
57 class CommandBufferClientImpl; | 60 class CommandBufferClientImpl; |
58 class CommandBufferLocal; | 61 class CommandBufferLocal; |
59 class GpuState; | 62 class GpuState; |
60 } | 63 } |
61 namespace net { | 64 namespace net { |
62 class NetworkChangeNotifierMac; | 65 class NetworkChangeNotifierMac; |
63 namespace internal { | 66 namespace internal { |
64 class AddressTrackerLinux; | 67 class AddressTrackerLinux; |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 friend class remoting::AutoThread; | 189 friend class remoting::AutoThread; |
187 friend class ui::WindowResizeHelperMac; | 190 friend class ui::WindowResizeHelperMac; |
188 friend class MessagePumpDefault; | 191 friend class MessagePumpDefault; |
189 friend class SequencedWorkerPool; | 192 friend class SequencedWorkerPool; |
190 friend class SimpleThread; | 193 friend class SimpleThread; |
191 friend class Thread; | 194 friend class Thread; |
192 friend class ThreadTestHelper; | 195 friend class ThreadTestHelper; |
193 friend class PlatformThread; | 196 friend class PlatformThread; |
194 friend class android::JavaHandlerThread; | 197 friend class android::JavaHandlerThread; |
195 friend class mojo::SyncCallRestrictions; | 198 friend class mojo::SyncCallRestrictions; |
| 199 friend class mojo::edk::ScopedIPCSupport; |
196 friend class ui::CommandBufferClientImpl; | 200 friend class ui::CommandBufferClientImpl; |
197 friend class ui::CommandBufferLocal; | 201 friend class ui::CommandBufferLocal; |
198 friend class ui::GpuState; | 202 friend class ui::GpuState; |
199 | 203 |
200 // END ALLOWED USAGE. | 204 // END ALLOWED USAGE. |
201 // BEGIN USAGE THAT NEEDS TO BE FIXED. | 205 // BEGIN USAGE THAT NEEDS TO BE FIXED. |
202 friend class ::chromeos::BlockingMethodCaller; // http://crbug.com/125360 | 206 friend class ::chromeos::BlockingMethodCaller; // http://crbug.com/125360 |
203 friend class ::chromeos::system::StatisticsProviderImpl; // http://crbug.com/
125385 | 207 friend class ::chromeos::system::StatisticsProviderImpl; // http://crbug.com/
125385 |
204 friend class chrome_browser_net::Predictor; // http://crbug.com/78451 | 208 friend class chrome_browser_net::Predictor; // http://crbug.com/78451 |
205 friend class | 209 friend class |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 | 246 |
243 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait); | 247 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait); |
244 }; | 248 }; |
245 | 249 |
246 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions); | 250 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions); |
247 }; | 251 }; |
248 | 252 |
249 } // namespace base | 253 } // namespace base |
250 | 254 |
251 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_ | 255 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_ |
OLD | NEW |