Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(401)

Side by Side Diff: base/threading/thread_restrictions.h

Issue 2620213004: Remove all blimp browsertests. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | blimp/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/logging.h" 9 #include "base/logging.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 11
12 class BrowserProcessImpl; 12 class BrowserProcessImpl;
13 class HistogramSynchronizer; 13 class HistogramSynchronizer;
14 class NativeBackendKWallet; 14 class NativeBackendKWallet;
15 class ScopedAllowWaitForLegacyWebViewApi; 15 class ScopedAllowWaitForLegacyWebViewApi;
16 16
17 namespace blimp {
18 class BlimpBrowserTest;
19 }
20 namespace cc { 17 namespace cc {
21 class CompletionEvent; 18 class CompletionEvent;
22 class SingleThreadTaskGraphRunner; 19 class SingleThreadTaskGraphRunner;
23 } 20 }
24 namespace chromeos { 21 namespace chromeos {
25 class BlockingMethodCaller; 22 class BlockingMethodCaller;
26 namespace system { 23 namespace system {
27 class StatisticsProviderImpl; 24 class StatisticsProviderImpl;
28 } 25 }
29 } 26 }
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 static void AssertIOAllowed() {} 164 static void AssertIOAllowed() {}
168 static bool SetSingletonAllowed(bool allowed) { return true; } 165 static bool SetSingletonAllowed(bool allowed) { return true; }
169 static void AssertSingletonAllowed() {} 166 static void AssertSingletonAllowed() {}
170 static void DisallowWaiting() {} 167 static void DisallowWaiting() {}
171 static void AssertWaitAllowed() {} 168 static void AssertWaitAllowed() {}
172 #endif 169 #endif
173 170
174 private: 171 private:
175 // DO NOT ADD ANY OTHER FRIEND STATEMENTS, talk to jam or brettw first. 172 // DO NOT ADD ANY OTHER FRIEND STATEMENTS, talk to jam or brettw first.
176 // BEGIN ALLOWED USAGE. 173 // BEGIN ALLOWED USAGE.
177 friend class blimp::BlimpBrowserTest;
178 friend class content::BrowserShutdownProfileDumper; 174 friend class content::BrowserShutdownProfileDumper;
179 friend class content::BrowserSurfaceViewManager; 175 friend class content::BrowserSurfaceViewManager;
180 friend class content::BrowserTestBase; 176 friend class content::BrowserTestBase;
181 friend class content::NestedMessagePumpAndroid; 177 friend class content::NestedMessagePumpAndroid;
182 friend class content::ScopedAllowWaitForAndroidLayoutTests; 178 friend class content::ScopedAllowWaitForAndroidLayoutTests;
183 friend class content::ScopedAllowWaitForDebugURL; 179 friend class content::ScopedAllowWaitForDebugURL;
184 friend class ::HistogramSynchronizer; 180 friend class ::HistogramSynchronizer;
185 friend class internal::TaskTracker; 181 friend class internal::TaskTracker;
186 friend class ::ScopedAllowWaitForLegacyWebViewApi; 182 friend class ::ScopedAllowWaitForLegacyWebViewApi;
187 friend class cc::CompletionEvent; 183 friend class cc::CompletionEvent;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 242
247 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait); 243 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait);
248 }; 244 };
249 245
250 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions); 246 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions);
251 }; 247 };
252 248
253 } // namespace base 249 } // namespace base
254 250
255 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_ 251 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_
OLDNEW
« no previous file with comments | « no previous file | blimp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698