| 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 12 matching lines...) Expand all Loading... |
| 23 class NativeBackendKWallet; | 23 class NativeBackendKWallet; |
| 24 class ScopedAllowWaitForLegacyWebViewApi; | 24 class ScopedAllowWaitForLegacyWebViewApi; |
| 25 class TestingAutomationProvider; | 25 class TestingAutomationProvider; |
| 26 class TextInputClientMac; | 26 class TextInputClientMac; |
| 27 | 27 |
| 28 namespace browser_sync { | 28 namespace browser_sync { |
| 29 class NonFrontendDataTypeController; | 29 class NonFrontendDataTypeController; |
| 30 class UIModelWorker; | 30 class UIModelWorker; |
| 31 } | 31 } |
| 32 namespace cc { | 32 namespace cc { |
| 33 class CCCompletionEvent; | 33 class CompletionEvent; |
| 34 } | 34 } |
| 35 namespace chromeos { | 35 namespace chromeos { |
| 36 class AudioMixerAlsa; | 36 class AudioMixerAlsa; |
| 37 class BlockingMethodCaller; | 37 class BlockingMethodCaller; |
| 38 namespace system { | 38 namespace system { |
| 39 class StatisticsProviderImpl; | 39 class StatisticsProviderImpl; |
| 40 } | 40 } |
| 41 } | 41 } |
| 42 namespace chrome_browser_net { | 42 namespace chrome_browser_net { |
| 43 class Predictor; | 43 class Predictor; |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 static void AssertWaitAllowed() {} | 164 static void AssertWaitAllowed() {} |
| 165 #endif | 165 #endif |
| 166 | 166 |
| 167 private: | 167 private: |
| 168 // DO NOT ADD ANY OTHER FRIEND STATEMENTS, talk to jam or brettw first. | 168 // DO NOT ADD ANY OTHER FRIEND STATEMENTS, talk to jam or brettw first. |
| 169 // BEGIN ALLOWED USAGE. | 169 // BEGIN ALLOWED USAGE. |
| 170 friend class content::RenderWidgetHelper; | 170 friend class content::RenderWidgetHelper; |
| 171 friend class ::HistogramSynchronizer; | 171 friend class ::HistogramSynchronizer; |
| 172 friend class ::ScopedAllowWaitForLegacyWebViewApi; | 172 friend class ::ScopedAllowWaitForLegacyWebViewApi; |
| 173 friend class ::TestingAutomationProvider; | 173 friend class ::TestingAutomationProvider; |
| 174 friend class cc::CCCompletionEvent; | 174 friend class cc::CompletionEvent; |
| 175 friend class remoting::AutoThread; | 175 friend class remoting::AutoThread; |
| 176 friend class SequencedWorkerPool; | 176 friend class SequencedWorkerPool; |
| 177 friend class SimpleThread; | 177 friend class SimpleThread; |
| 178 friend class Thread; | 178 friend class Thread; |
| 179 friend class ThreadTestHelper; | 179 friend class ThreadTestHelper; |
| 180 | 180 |
| 181 // END ALLOWED USAGE. | 181 // END ALLOWED USAGE. |
| 182 // BEGIN USAGE THAT NEEDS TO BE FIXED. | 182 // BEGIN USAGE THAT NEEDS TO BE FIXED. |
| 183 friend class ::chromeos::AudioMixerAlsa; // http://crbug.com/125206 | 183 friend class ::chromeos::AudioMixerAlsa; // http://crbug.com/125206 |
| 184 friend class ::chromeos::BlockingMethodCaller; // http://crbug.com/125360 | 184 friend class ::chromeos::BlockingMethodCaller; // http://crbug.com/125360 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 | 225 |
| 226 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait); | 226 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait); |
| 227 }; | 227 }; |
| 228 | 228 |
| 229 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions); | 229 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions); |
| 230 }; | 230 }; |
| 231 | 231 |
| 232 } // namespace base | 232 } // namespace base |
| 233 | 233 |
| 234 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_ | 234 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_ |
| OLD | NEW |