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

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

Issue 1475983004: Revert making HandleWatcher block until no longer waiting on pipe (r285266). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update comment (undo change in r283888 Created 5 years 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 | mojo/android/javatests/src/org/chromium/mojo/system/impl/CoreImplTest.java » ('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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 namespace dbus { 48 namespace dbus {
49 class Bus; 49 class Bus;
50 } 50 }
51 namespace disk_cache { 51 namespace disk_cache {
52 class BackendImpl; 52 class BackendImpl;
53 class InFlightIO; 53 class InFlightIO;
54 } 54 }
55 namespace gles2 { 55 namespace gles2 {
56 class CommandBufferClientImpl; 56 class CommandBufferClientImpl;
57 } 57 }
58 namespace mojo {
59 namespace common {
60 class WatcherThreadManager;
61 }
62 }
63 namespace net { 58 namespace net {
64 class NetworkChangeNotifierMac; 59 class NetworkChangeNotifierMac;
65 namespace internal { 60 namespace internal {
66 class AddressTrackerLinux; 61 class AddressTrackerLinux;
67 } 62 }
68 } 63 }
69 64
70 namespace remoting { 65 namespace remoting {
71 class AutoThread; 66 class AutoThread;
72 } 67 }
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 // BEGIN ALLOWED USAGE. 180 // BEGIN ALLOWED USAGE.
186 friend class content::BrowserShutdownProfileDumper; 181 friend class content::BrowserShutdownProfileDumper;
187 friend class content::BrowserTestBase; 182 friend class content::BrowserTestBase;
188 friend class content::NestedMessagePumpAndroid; 183 friend class content::NestedMessagePumpAndroid;
189 friend class content::ScopedAllowWaitForAndroidLayoutTests; 184 friend class content::ScopedAllowWaitForAndroidLayoutTests;
190 friend class content::ScopedAllowWaitForDebugURL; 185 friend class content::ScopedAllowWaitForDebugURL;
191 friend class ::HistogramSynchronizer; 186 friend class ::HistogramSynchronizer;
192 friend class ::ScopedAllowWaitForLegacyWebViewApi; 187 friend class ::ScopedAllowWaitForLegacyWebViewApi;
193 friend class cc::CompletionEvent; 188 friend class cc::CompletionEvent;
194 friend class cc::TaskGraphRunner; 189 friend class cc::TaskGraphRunner;
195 friend class mojo::common::WatcherThreadManager;
196 friend class remoting::AutoThread; 190 friend class remoting::AutoThread;
197 friend class ui::WindowResizeHelperMac; 191 friend class ui::WindowResizeHelperMac;
198 friend class MessagePumpDefault; 192 friend class MessagePumpDefault;
199 friend class SequencedWorkerPool; 193 friend class SequencedWorkerPool;
200 friend class SimpleThread; 194 friend class SimpleThread;
201 friend class Thread; 195 friend class Thread;
202 friend class ThreadTestHelper; 196 friend class ThreadTestHelper;
203 friend class PlatformThread; 197 friend class PlatformThread;
204 friend class android::JavaHandlerThread; 198 friend class android::JavaHandlerThread;
205 friend class gles2::CommandBufferClientImpl; 199 friend class gles2::CommandBufferClientImpl;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 243
250 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait); 244 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait);
251 }; 245 };
252 246
253 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions); 247 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions);
254 }; 248 };
255 249
256 } // namespace base 250 } // namespace base
257 251
258 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_ 252 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_
OLDNEW
« no previous file with comments | « no previous file | mojo/android/javatests/src/org/chromium/mojo/system/impl/CoreImplTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698