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

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

Issue 2620633004: Remove mojo::edk::test::ScopedIPCSupport (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 | chrome/app_shim/chrome_main_app_mode_mac.mm » ('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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 } 45 }
46 namespace disk_cache { 46 namespace disk_cache {
47 class BackendImpl; 47 class BackendImpl;
48 class InFlightIO; 48 class InFlightIO;
49 } 49 }
50 namespace gpu { 50 namespace gpu {
51 class GpuChannelHost; 51 class GpuChannelHost;
52 } 52 }
53 namespace mojo { 53 namespace mojo {
54 class SyncCallRestrictions; 54 class SyncCallRestrictions;
55 namespace edk {
56 class ScopedIPCSupport;
57 }
55 } 58 }
56 namespace ui { 59 namespace ui {
57 class CommandBufferClientImpl; 60 class CommandBufferClientImpl;
58 class CommandBufferLocal; 61 class CommandBufferLocal;
59 class GpuState; 62 class GpuState;
60 } 63 }
61 namespace net { 64 namespace net {
62 class NetworkChangeNotifierMac; 65 class NetworkChangeNotifierMac;
63 namespace internal { 66 namespace internal {
64 class AddressTrackerLinux; 67 class AddressTrackerLinux;
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 friend class remoting::AutoThread; 189 friend class remoting::AutoThread;
187 friend class ui::WindowResizeHelperMac; 190 friend class ui::WindowResizeHelperMac;
188 friend class MessagePumpDefault; 191 friend class MessagePumpDefault;
189 friend class SequencedWorkerPool; 192 friend class SequencedWorkerPool;
190 friend class SimpleThread; 193 friend class SimpleThread;
191 friend class Thread; 194 friend class Thread;
192 friend class ThreadTestHelper; 195 friend class ThreadTestHelper;
193 friend class PlatformThread; 196 friend class PlatformThread;
194 friend class android::JavaHandlerThread; 197 friend class android::JavaHandlerThread;
195 friend class mojo::SyncCallRestrictions; 198 friend class mojo::SyncCallRestrictions;
199 friend class mojo::edk::ScopedIPCSupport;
196 friend class ui::CommandBufferClientImpl; 200 friend class ui::CommandBufferClientImpl;
197 friend class ui::CommandBufferLocal; 201 friend class ui::CommandBufferLocal;
198 friend class ui::GpuState; 202 friend class ui::GpuState;
199 203
200 // END ALLOWED USAGE. 204 // END ALLOWED USAGE.
201 // BEGIN USAGE THAT NEEDS TO BE FIXED. 205 // BEGIN USAGE THAT NEEDS TO BE FIXED.
202 friend class ::chromeos::BlockingMethodCaller; // http://crbug.com/125360 206 friend class ::chromeos::BlockingMethodCaller; // http://crbug.com/125360
203 friend class ::chromeos::system::StatisticsProviderImpl; // http://crbug.com/ 125385 207 friend class ::chromeos::system::StatisticsProviderImpl; // http://crbug.com/ 125385
204 friend class chrome_browser_net::Predictor; // http://crbug.com/78451 208 friend class chrome_browser_net::Predictor; // http://crbug.com/78451
205 friend class 209 friend class
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 246
243 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait); 247 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait);
244 }; 248 };
245 249
246 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions); 250 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions);
247 }; 251 };
248 252
249 } // namespace base 253 } // namespace base
250 254
251 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_ 255 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/app_shim/chrome_main_app_mode_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698