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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 friend class ::HistogramSynchronizer; | 175 friend class ::HistogramSynchronizer; |
176 friend class ::ScopedAllowWaitForLegacyWebViewApi; | 176 friend class ::ScopedAllowWaitForLegacyWebViewApi; |
177 friend class ::TestingAutomationProvider; | 177 friend class ::TestingAutomationProvider; |
178 friend class cc::CompletionEvent; | 178 friend class cc::CompletionEvent; |
179 friend class remoting::AutoThread; | 179 friend class remoting::AutoThread; |
180 friend class MessagePumpDefault; | 180 friend class MessagePumpDefault; |
181 friend class SequencedWorkerPool; | 181 friend class SequencedWorkerPool; |
182 friend class SimpleThread; | 182 friend class SimpleThread; |
183 friend class Thread; | 183 friend class Thread; |
184 friend class ThreadTestHelper; | 184 friend class ThreadTestHelper; |
| 185 friend class PlatformThread; |
185 | 186 |
186 // END ALLOWED USAGE. | 187 // END ALLOWED USAGE. |
187 // BEGIN USAGE THAT NEEDS TO BE FIXED. | 188 // BEGIN USAGE THAT NEEDS TO BE FIXED. |
188 friend class ::chromeos::AudioMixerAlsa; // http://crbug.com/125206 | 189 friend class ::chromeos::AudioMixerAlsa; // http://crbug.com/125206 |
189 friend class ::chromeos::BlockingMethodCaller; // http://crbug.com/125360 | 190 friend class ::chromeos::BlockingMethodCaller; // http://crbug.com/125360 |
190 friend class ::chromeos::system::StatisticsProviderImpl; // http://crbug.com/
125385 | 191 friend class ::chromeos::system::StatisticsProviderImpl; // http://crbug.com/
125385 |
191 friend class browser_sync::NonFrontendDataTypeController; // http://crbug.com
/19757 | 192 friend class browser_sync::NonFrontendDataTypeController; // http://crbug.com
/19757 |
192 friend class browser_sync::UIModelWorker; // http://crbug.com/19757 | 193 friend class browser_sync::UIModelWorker; // http://crbug.com/19757 |
193 friend class chrome_browser_net::Predictor; // http://crbug.com/78451 | 194 friend class chrome_browser_net::Predictor; // http://crbug.com/78451 |
194 friend class | 195 friend class |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 | 231 |
231 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait); | 232 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait); |
232 }; | 233 }; |
233 | 234 |
234 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions); | 235 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions); |
235 }; | 236 }; |
236 | 237 |
237 } // namespace base | 238 } // namespace base |
238 | 239 |
239 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_ | 240 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_ |
OLD | NEW |