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

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

Issue 2848413002: Revert of Reland RedirectNonUINonIOBrowserThreads to TaskScheduler by default on trunk (Closed)
Patch Set: Created 3 years, 7 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 | content/browser/browser_main_loop.cc » ('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"
(...skipping 16 matching lines...) Expand all
27 namespace system { 27 namespace system {
28 class StatisticsProviderImpl; 28 class StatisticsProviderImpl;
29 } 29 }
30 } 30 }
31 namespace chrome_browser_net { 31 namespace chrome_browser_net {
32 class Predictor; 32 class Predictor;
33 } 33 }
34 namespace content { 34 namespace content {
35 class BrowserGpuChannelHostFactory; 35 class BrowserGpuChannelHostFactory;
36 class BrowserGpuMemoryBufferManager; 36 class BrowserGpuMemoryBufferManager;
37 class BrowserMainLoop;
38 class BrowserShutdownProfileDumper; 37 class BrowserShutdownProfileDumper;
39 class BrowserSurfaceViewManager; 38 class BrowserSurfaceViewManager;
40 class BrowserTestBase; 39 class BrowserTestBase;
41 class CategorizedWorkerPool;
42 class NestedMessagePumpAndroid; 40 class NestedMessagePumpAndroid;
43 class ScopedAllowWaitForAndroidLayoutTests; 41 class ScopedAllowWaitForAndroidLayoutTests;
44 class ScopedAllowWaitForDebugURL; 42 class ScopedAllowWaitForDebugURL;
45 class SoftwareOutputDeviceMus; 43 class SoftwareOutputDeviceMus;
46 class SynchronousCompositor; 44 class SynchronousCompositor;
47 class SynchronousCompositorBrowserFilter; 45 class SynchronousCompositorBrowserFilter;
48 class SynchronousCompositorHost; 46 class SynchronousCompositorHost;
49 class TextInputClientMac; 47 class TextInputClientMac;
48 class CategorizedWorkerPool;
50 } // namespace content 49 } // namespace content
51 namespace dbus { 50 namespace dbus {
52 class Bus; 51 class Bus;
53 } 52 }
54 namespace disk_cache { 53 namespace disk_cache {
55 class BackendImpl; 54 class BackendImpl;
56 class InFlightIO; 55 class InFlightIO;
57 } 56 }
58 namespace gpu { 57 namespace gpu {
59 class GpuChannelHost; 58 class GpuChannelHost;
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 static void DisallowWaiting() {} 178 static void DisallowWaiting() {}
180 static void AssertWaitAllowed() {} 179 static void AssertWaitAllowed() {}
181 #endif 180 #endif
182 181
183 private: 182 private:
184 // DO NOT ADD ANY OTHER FRIEND STATEMENTS, talk to jam or brettw first. 183 // DO NOT ADD ANY OTHER FRIEND STATEMENTS, talk to jam or brettw first.
185 // BEGIN ALLOWED USAGE. 184 // BEGIN ALLOWED USAGE.
186 friend class android_webview::AwFormDatabaseService; 185 friend class android_webview::AwFormDatabaseService;
187 friend class android_webview::CookieManager; 186 friend class android_webview::CookieManager;
188 friend class base::StackSamplingProfiler; 187 friend class base::StackSamplingProfiler;
189 friend class content::BrowserMainLoop;
190 friend class content::BrowserShutdownProfileDumper; 188 friend class content::BrowserShutdownProfileDumper;
191 friend class content::BrowserSurfaceViewManager; 189 friend class content::BrowserSurfaceViewManager;
192 friend class content::BrowserTestBase; 190 friend class content::BrowserTestBase;
193 friend class content::NestedMessagePumpAndroid; 191 friend class content::NestedMessagePumpAndroid;
194 friend class content::ScopedAllowWaitForAndroidLayoutTests; 192 friend class content::ScopedAllowWaitForAndroidLayoutTests;
195 friend class content::ScopedAllowWaitForDebugURL; 193 friend class content::ScopedAllowWaitForDebugURL;
196 friend class content::SynchronousCompositor; 194 friend class content::SynchronousCompositor;
197 friend class content::SynchronousCompositorBrowserFilter; 195 friend class content::SynchronousCompositorBrowserFilter;
198 friend class content::SynchronousCompositorHost; 196 friend class content::SynchronousCompositorHost;
199 friend class ::HistogramSynchronizer; 197 friend class ::HistogramSynchronizer;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 259
262 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait); 260 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait);
263 }; 261 };
264 262
265 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions); 263 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions);
266 }; 264 };
267 265
268 } // namespace base 266 } // namespace base
269 267
270 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_ 268 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/browser_main_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698