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

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

Issue 396483003: Separate ResizeHelper from RenderWidgetHelper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make dtor order more robust Created 6 years, 5 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/gpu/gpu_process_host.h » ('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/basictypes.h" 9 #include "base/basictypes.h"
10 10
(...skipping 29 matching lines...) Expand all
40 namespace chrome_browser_net { 40 namespace chrome_browser_net {
41 class Predictor; 41 class Predictor;
42 } 42 }
43 namespace content { 43 namespace content {
44 class BrowserGpuChannelHostFactory; 44 class BrowserGpuChannelHostFactory;
45 class BrowserShutdownProfileDumper; 45 class BrowserShutdownProfileDumper;
46 class BrowserTestBase; 46 class BrowserTestBase;
47 class GLHelper; 47 class GLHelper;
48 class GpuChannelHost; 48 class GpuChannelHost;
49 class NestedMessagePumpAndroid; 49 class NestedMessagePumpAndroid;
50 class RenderWidgetHelper; 50 class RenderWidgetResizeHelper;
51 class ScopedAllowWaitForAndroidLayoutTests; 51 class ScopedAllowWaitForAndroidLayoutTests;
52 class TextInputClientMac; 52 class TextInputClientMac;
53 } 53 }
54 namespace dbus { 54 namespace dbus {
55 class Bus; 55 class Bus;
56 } 56 }
57 namespace disk_cache { 57 namespace disk_cache {
58 class BackendImpl; 58 class BackendImpl;
59 class InFlightIO; 59 class InFlightIO;
60 } 60 }
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 static void DisallowWaiting() {} 173 static void DisallowWaiting() {}
174 static void AssertWaitAllowed() {} 174 static void AssertWaitAllowed() {}
175 #endif 175 #endif
176 176
177 private: 177 private:
178 // DO NOT ADD ANY OTHER FRIEND STATEMENTS, talk to jam or brettw first. 178 // DO NOT ADD ANY OTHER FRIEND STATEMENTS, talk to jam or brettw first.
179 // BEGIN ALLOWED USAGE. 179 // BEGIN ALLOWED USAGE.
180 friend class content::BrowserShutdownProfileDumper; 180 friend class content::BrowserShutdownProfileDumper;
181 friend class content::BrowserTestBase; 181 friend class content::BrowserTestBase;
182 friend class content::NestedMessagePumpAndroid; 182 friend class content::NestedMessagePumpAndroid;
183 friend class content::RenderWidgetHelper; 183 friend class content::RenderWidgetResizeHelper;
184 friend class content::ScopedAllowWaitForAndroidLayoutTests; 184 friend class content::ScopedAllowWaitForAndroidLayoutTests;
185 friend class ::HistogramSynchronizer; 185 friend class ::HistogramSynchronizer;
186 friend class ::ScopedAllowWaitForLegacyWebViewApi; 186 friend class ::ScopedAllowWaitForLegacyWebViewApi;
187 friend class ::TestingAutomationProvider; 187 friend class ::TestingAutomationProvider;
188 friend class cc::CompletionEvent; 188 friend class cc::CompletionEvent;
189 friend class remoting::AutoThread; 189 friend class remoting::AutoThread;
190 friend class MessagePumpDefault; 190 friend class MessagePumpDefault;
191 friend class SequencedWorkerPool; 191 friend class SequencedWorkerPool;
192 friend class SimpleThread; 192 friend class SimpleThread;
193 friend class Thread; 193 friend class Thread;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 242
243 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait); 243 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait);
244 }; 244 };
245 245
246 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions); 246 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions);
247 }; 247 };
248 248
249 } // namespace base 249 } // namespace base
250 250
251 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_ 251 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/gpu/gpu_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698