Chromium Code Reviews| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 49 namespace dbus { | 49 namespace dbus { |
| 50 class Bus; | 50 class Bus; |
| 51 } | 51 } |
| 52 namespace disk_cache { | 52 namespace disk_cache { |
| 53 class BackendImpl; | 53 class BackendImpl; |
| 54 class InFlightIO; | 54 class InFlightIO; |
| 55 } | 55 } |
| 56 namespace gpu { | 56 namespace gpu { |
| 57 class GpuChannelHost; | 57 class GpuChannelHost; |
| 58 } | 58 } |
| 59 namespace media { | |
| 60 class AudioDeviceThread; | |
| 61 } | |
| 59 namespace mojo { | 62 namespace mojo { |
| 60 namespace common { | 63 namespace common { |
| 61 class MessagePumpMojo; | 64 class MessagePumpMojo; |
| 62 } | 65 } |
| 63 } | 66 } |
| 64 namespace mus { | 67 namespace mus { |
| 65 class CommandBufferClientImpl; | 68 class CommandBufferClientImpl; |
| 66 class CommandBufferLocal; | 69 class CommandBufferLocal; |
| 67 class GpuState; | 70 class GpuState; |
| 68 } | 71 } |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 207 friend class SequencedWorkerPool; | 210 friend class SequencedWorkerPool; |
| 208 friend class SimpleThread; | 211 friend class SimpleThread; |
| 209 friend class Thread; | 212 friend class Thread; |
| 210 friend class ThreadTestHelper; | 213 friend class ThreadTestHelper; |
| 211 friend class PlatformThread; | 214 friend class PlatformThread; |
| 212 friend class android::JavaHandlerThread; | 215 friend class android::JavaHandlerThread; |
| 213 friend class mojo::common::MessagePumpMojo; | 216 friend class mojo::common::MessagePumpMojo; |
| 214 friend class mus::CommandBufferClientImpl; | 217 friend class mus::CommandBufferClientImpl; |
| 215 friend class mus::CommandBufferLocal; | 218 friend class mus::CommandBufferLocal; |
| 216 friend class mus::GpuState; | 219 friend class mus::GpuState; |
| 220 friend class media::AudioDeviceThread; | |
|
jam
2016/06/13 18:22:22
nit: order
Henrik Grunell
2016/06/13 20:38:35
I actually added it last because there isn't a cle
Henrik Grunell
2016/06/14 11:30:00
I put it after android::.
| |
| 217 | 221 |
| 218 // END ALLOWED USAGE. | 222 // END ALLOWED USAGE. |
| 219 // BEGIN USAGE THAT NEEDS TO BE FIXED. | 223 // BEGIN USAGE THAT NEEDS TO BE FIXED. |
| 220 friend class ::chromeos::BlockingMethodCaller; // http://crbug.com/125360 | 224 friend class ::chromeos::BlockingMethodCaller; // http://crbug.com/125360 |
| 221 friend class ::chromeos::system::StatisticsProviderImpl; // http://crbug.com/ 125385 | 225 friend class ::chromeos::system::StatisticsProviderImpl; // http://crbug.com/ 125385 |
| 222 friend class chrome_browser_net::Predictor; // http://crbug.com/78451 | 226 friend class chrome_browser_net::Predictor; // http://crbug.com/78451 |
| 223 friend class | 227 friend class |
| 224 content::BrowserGpuChannelHostFactory; // http://crbug.com/125248 | 228 content::BrowserGpuChannelHostFactory; // http://crbug.com/125248 |
| 225 friend class | 229 friend class |
| 226 content::BrowserGpuMemoryBufferManager; // http://crbug.com/420368 | 230 content::BrowserGpuMemoryBufferManager; // http://crbug.com/420368 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 264 | 268 |
| 265 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait); | 269 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait); |
| 266 }; | 270 }; |
| 267 | 271 |
| 268 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions); | 272 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions); |
| 269 }; | 273 }; |
| 270 | 274 |
| 271 } // namespace base | 275 } // namespace base |
| 272 | 276 |
| 273 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_ | 277 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_ |
| OLD | NEW |