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

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

Issue 2087333002: mus::GpuService: Support establish GpuChannel asynchronously. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 6 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
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/macros.h" 9 #include "base/macros.h"
10 10
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 } 58 }
59 namespace mojo { 59 namespace mojo {
60 namespace common { 60 namespace common {
61 class MessagePumpMojo; 61 class MessagePumpMojo;
62 } 62 }
63 class SyncCallRestrictions; 63 class SyncCallRestrictions;
64 } 64 }
65 namespace mus { 65 namespace mus {
66 class CommandBufferClientImpl; 66 class CommandBufferClientImpl;
67 class CommandBufferLocal; 67 class CommandBufferLocal;
68 class GpuService;
68 class GpuState; 69 class GpuState;
69 } 70 }
70 namespace net { 71 namespace net {
71 class NetworkChangeNotifierMac; 72 class NetworkChangeNotifierMac;
72 namespace internal { 73 namespace internal {
73 class AddressTrackerLinux; 74 class AddressTrackerLinux;
74 } 75 }
75 } 76 }
76 77
77 namespace remoting { 78 namespace remoting {
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 friend class SequencedWorkerPool; 208 friend class SequencedWorkerPool;
208 friend class SimpleThread; 209 friend class SimpleThread;
209 friend class Thread; 210 friend class Thread;
210 friend class ThreadTestHelper; 211 friend class ThreadTestHelper;
211 friend class PlatformThread; 212 friend class PlatformThread;
212 friend class android::JavaHandlerThread; 213 friend class android::JavaHandlerThread;
213 friend class mojo::common::MessagePumpMojo; 214 friend class mojo::common::MessagePumpMojo;
214 friend class mojo::SyncCallRestrictions; 215 friend class mojo::SyncCallRestrictions;
215 friend class mus::CommandBufferClientImpl; 216 friend class mus::CommandBufferClientImpl;
216 friend class mus::CommandBufferLocal; 217 friend class mus::CommandBufferLocal;
218 friend class mus::GpuService; // http://crbug.com/620058
217 friend class mus::GpuState; 219 friend class mus::GpuState;
218 220
219 // END ALLOWED USAGE. 221 // END ALLOWED USAGE.
220 // BEGIN USAGE THAT NEEDS TO BE FIXED. 222 // BEGIN USAGE THAT NEEDS TO BE FIXED.
221 friend class ::chromeos::BlockingMethodCaller; // http://crbug.com/125360 223 friend class ::chromeos::BlockingMethodCaller; // http://crbug.com/125360
222 friend class ::chromeos::system::StatisticsProviderImpl; // http://crbug.com/ 125385 224 friend class ::chromeos::system::StatisticsProviderImpl; // http://crbug.com/ 125385
223 friend class chrome_browser_net::Predictor; // http://crbug.com/78451 225 friend class chrome_browser_net::Predictor; // http://crbug.com/78451
224 friend class 226 friend class
225 content::BrowserGpuChannelHostFactory; // http://crbug.com/125248 227 content::BrowserGpuChannelHostFactory; // http://crbug.com/125248
226 friend class 228 friend class
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 263
262 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait); 264 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait);
263 }; 265 };
264 266
265 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions); 267 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions);
266 }; 268 };
267 269
268 } // namespace base 270 } // namespace base
269 271
270 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_ 272 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698