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/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 | 10 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 61 class NetworkChangeNotifierMac; | 61 class NetworkChangeNotifierMac; |
| 62 namespace internal { | 62 namespace internal { |
| 63 class AddressTrackerLinux; | 63 class AddressTrackerLinux; |
| 64 } | 64 } |
| 65 } | 65 } |
| 66 | 66 |
| 67 namespace remoting { | 67 namespace remoting { |
| 68 class AutoThread; | 68 class AutoThread; |
| 69 } | 69 } |
| 70 | 70 |
| 71 namespace ui { | |
| 72 class ClientNativePixmapFactoryGbm; | |
| 73 } | |
| 74 | |
| 71 namespace base { | 75 namespace base { |
| 72 | 76 |
| 73 namespace android { | 77 namespace android { |
| 74 class JavaHandlerThread; | 78 class JavaHandlerThread; |
| 75 } | 79 } |
| 76 | 80 |
| 77 class SequencedWorkerPool; | 81 class SequencedWorkerPool; |
| 78 class SimpleThread; | 82 class SimpleThread; |
| 79 class Thread; | 83 class Thread; |
| 80 class ThreadTestHelper; | 84 class ThreadTestHelper; |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 184 friend class cc::TaskGraphRunner; | 188 friend class cc::TaskGraphRunner; |
| 185 friend class mojo::common::WatcherThreadManager; | 189 friend class mojo::common::WatcherThreadManager; |
| 186 friend class remoting::AutoThread; | 190 friend class remoting::AutoThread; |
| 187 friend class MessagePumpDefault; | 191 friend class MessagePumpDefault; |
| 188 friend class SequencedWorkerPool; | 192 friend class SequencedWorkerPool; |
| 189 friend class SimpleThread; | 193 friend class SimpleThread; |
| 190 friend class Thread; | 194 friend class Thread; |
| 191 friend class ThreadTestHelper; | 195 friend class ThreadTestHelper; |
| 192 friend class PlatformThread; | 196 friend class PlatformThread; |
| 193 friend class android::JavaHandlerThread; | 197 friend class android::JavaHandlerThread; |
| 198 friend class ui::ClientNativePixmapFactoryGbm; | |
|
dshwang
2015/08/21 13:04:10
jam, brettw, could you allow this? Renderer needs
| |
| 194 | 199 |
| 195 // END ALLOWED USAGE. | 200 // END ALLOWED USAGE. |
| 196 // BEGIN USAGE THAT NEEDS TO BE FIXED. | 201 // BEGIN USAGE THAT NEEDS TO BE FIXED. |
| 197 friend class ::chromeos::BlockingMethodCaller; // http://crbug.com/125360 | 202 friend class ::chromeos::BlockingMethodCaller; // http://crbug.com/125360 |
| 198 friend class ::chromeos::system::StatisticsProviderImpl; // http://crbug.com/ 125385 | 203 friend class ::chromeos::system::StatisticsProviderImpl; // http://crbug.com/ 125385 |
| 199 friend class chrome_browser_net::Predictor; // http://crbug.com/78451 | 204 friend class chrome_browser_net::Predictor; // http://crbug.com/78451 |
| 200 friend class | 205 friend class |
| 201 content::BrowserGpuChannelHostFactory; // http://crbug.com/125248 | 206 content::BrowserGpuChannelHostFactory; // http://crbug.com/125248 |
| 202 friend class | 207 friend class |
| 203 content::BrowserGpuMemoryBufferManager; // http://crbug.com/420368 | 208 content::BrowserGpuMemoryBufferManager; // http://crbug.com/420368 |
| (...skipping 29 matching lines...) Expand all Loading... | |
| 233 | 238 |
| 234 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait); | 239 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait); |
| 235 }; | 240 }; |
| 236 | 241 |
| 237 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions); | 242 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions); |
| 238 }; | 243 }; |
| 239 | 244 |
| 240 } // namespace base | 245 } // namespace base |
| 241 | 246 |
| 242 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_ | 247 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_ |
| OLD | NEW |