| 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/macros.h" | 9 #include "base/macros.h" |
| 10 | 10 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 class GpuChannelHost; | 57 class GpuChannelHost; |
| 58 } | 58 } |
| 59 namespace mojo { | 59 namespace mojo { |
| 60 namespace common { | 60 namespace common { |
| 61 class MessagePumpMojo; | 61 class MessagePumpMojo; |
| 62 } | 62 } |
| 63 } | 63 } |
| 64 namespace mus { | 64 namespace mus { |
| 65 class CommandBufferClientImpl; | 65 class CommandBufferClientImpl; |
| 66 class CommandBufferLocal; | 66 class CommandBufferLocal; |
| 67 class GpuService; |
| 67 class GpuState; | 68 class GpuState; |
| 68 } | 69 } |
| 69 namespace net { | 70 namespace net { |
| 70 class NetworkChangeNotifierMac; | 71 class NetworkChangeNotifierMac; |
| 71 namespace internal { | 72 namespace internal { |
| 72 class AddressTrackerLinux; | 73 class AddressTrackerLinux; |
| 73 } | 74 } |
| 74 } | 75 } |
| 75 | 76 |
| 76 namespace remoting { | 77 namespace remoting { |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 friend class MessagePumpDefault; | 207 friend class MessagePumpDefault; |
| 207 friend class SequencedWorkerPool; | 208 friend class SequencedWorkerPool; |
| 208 friend class SimpleThread; | 209 friend class SimpleThread; |
| 209 friend class Thread; | 210 friend class Thread; |
| 210 friend class ThreadTestHelper; | 211 friend class ThreadTestHelper; |
| 211 friend class PlatformThread; | 212 friend class PlatformThread; |
| 212 friend class android::JavaHandlerThread; | 213 friend class android::JavaHandlerThread; |
| 213 friend class mojo::common::MessagePumpMojo; | 214 friend class mojo::common::MessagePumpMojo; |
| 214 friend class mus::CommandBufferClientImpl; | 215 friend class mus::CommandBufferClientImpl; |
| 215 friend class mus::CommandBufferLocal; | 216 friend class mus::CommandBufferLocal; |
| 217 friend class mus::GpuService; // http://crbug.com/620058 |
| 216 friend class mus::GpuState; | 218 friend class mus::GpuState; |
| 217 | 219 |
| 218 // END ALLOWED USAGE. | 220 // END ALLOWED USAGE. |
| 219 // BEGIN USAGE THAT NEEDS TO BE FIXED. | 221 // BEGIN USAGE THAT NEEDS TO BE FIXED. |
| 220 friend class ::chromeos::BlockingMethodCaller; // http://crbug.com/125360 | 222 friend class ::chromeos::BlockingMethodCaller; // http://crbug.com/125360 |
| 221 friend class ::chromeos::system::StatisticsProviderImpl; // http://crbug.com/
125385 | 223 friend class ::chromeos::system::StatisticsProviderImpl; // http://crbug.com/
125385 |
| 222 friend class chrome_browser_net::Predictor; // http://crbug.com/78451 | 224 friend class chrome_browser_net::Predictor; // http://crbug.com/78451 |
| 223 friend class | 225 friend class |
| 224 content::BrowserGpuChannelHostFactory; // http://crbug.com/125248 | 226 content::BrowserGpuChannelHostFactory; // http://crbug.com/125248 |
| 225 friend class | 227 friend class |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 | 266 |
| 265 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait); | 267 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait); |
| 266 }; | 268 }; |
| 267 | 269 |
| 268 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions); | 270 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions); |
| 269 }; | 271 }; |
| 270 | 272 |
| 271 } // namespace base | 273 } // namespace base |
| 272 | 274 |
| 273 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_ | 275 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_ |
| OLD | NEW |