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

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

Issue 10198034: Add more allow-wait suppressions on cros. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/gdata_file_system.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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
11 class BrowserProcessImpl; 11 class BrowserProcessImpl;
12 class MetricsService; 12 class MetricsService;
13 class RenderWidgetHelper; 13 class RenderWidgetHelper;
14 class TestingAutomationProvider; 14 class TestingAutomationProvider;
15 class TextInputClientMac; 15 class TextInputClientMac;
16 namespace chromeos { 16 namespace chromeos {
17 class AudioMixerAlsa; 17 class AudioMixerAlsa;
18 } 18 }
19 namespace chrome_browser_net { 19 namespace chrome_browser_net {
20 class Predictor; 20 class Predictor;
21 } 21 }
22 namespace dbus {
23 class Bus;
24 }
22 namespace disk_cache { 25 namespace disk_cache {
23 class BackendImpl; 26 class BackendImpl;
24 class InFlightIO; 27 class InFlightIO;
25 } 28 }
29 namespace gdata {
30 class GDataFileSystem;
31 }
26 namespace media { 32 namespace media {
27 class AudioOutputController; 33 class AudioOutputController;
28 } 34 }
29 namespace net { 35 namespace net {
30 class FileStreamPosix; 36 class FileStreamPosix;
31 class FileStreamWin; 37 class FileStreamWin;
32 class NetworkManagerApi; 38 class NetworkManagerApi;
33 } 39 }
34 40
35 namespace base { 41 namespace base {
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 friend class ::RenderWidgetHelper; 142 friend class ::RenderWidgetHelper;
137 friend class ::TestingAutomationProvider; 143 friend class ::TestingAutomationProvider;
138 friend class SequencedWorkerPool; 144 friend class SequencedWorkerPool;
139 friend class SimpleThread; 145 friend class SimpleThread;
140 friend class Thread; 146 friend class Thread;
141 friend class ThreadTestHelper; 147 friend class ThreadTestHelper;
142 // END ALLOWED USAGE. 148 // END ALLOWED USAGE.
143 // BEGIN USAGE THAT NEEDS TO BE FIXED. 149 // BEGIN USAGE THAT NEEDS TO BE FIXED.
144 friend class ::chromeos::AudioMixerAlsa; // http://crbug.com/125206 150 friend class ::chromeos::AudioMixerAlsa; // http://crbug.com/125206
145 friend class chrome_browser_net::Predictor; // http://crbug.com/78451 151 friend class chrome_browser_net::Predictor; // http://crbug.com/78451
152 friend class dbus::Bus; // http://crbug.com/125222
146 friend class disk_cache::BackendImpl; // http://crbug.com/74623 153 friend class disk_cache::BackendImpl; // http://crbug.com/74623
147 friend class disk_cache::InFlightIO; // http://crbug.com/74623 154 friend class disk_cache::InFlightIO; // http://crbug.com/74623
155 friend class gdata::GDataFileSystem; // http://crbug.com/125220
148 friend class media::AudioOutputController; // http://crbug.com/120973 156 friend class media::AudioOutputController; // http://crbug.com/120973
149 friend class net::FileStreamPosix; // http://crbug.com/74623 157 friend class net::FileStreamPosix; // http://crbug.com/74623
150 friend class net::FileStreamWin; // http://crbug.com/74623 158 friend class net::FileStreamWin; // http://crbug.com/74623
151 friend class net::NetworkManagerApi; // http://crbug.com/125097 159 friend class net::NetworkManagerApi; // http://crbug.com/125097
152 friend class ::BrowserProcessImpl; // http://crbug.com/125207 160 friend class ::BrowserProcessImpl; // http://crbug.com/125207
153 friend class ::MetricsService; // http://crbug.com/124954 161 friend class ::MetricsService; // http://crbug.com/124954
154 friend class ::TextInputClientMac; // http://crbug.com/121917 162 friend class ::TextInputClientMac; // http://crbug.com/121917
155 // END USAGE THAT NEEDS TO BE FIXED. 163 // END USAGE THAT NEEDS TO BE FIXED.
156 164
157 #ifndef NDEBUG 165 #ifndef NDEBUG
(...skipping 17 matching lines...) Expand all
175 183
176 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait); 184 DISALLOW_COPY_AND_ASSIGN(ScopedAllowWait);
177 }; 185 };
178 186
179 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions); 187 DISALLOW_IMPLICIT_CONSTRUCTORS(ThreadRestrictions);
180 }; 188 };
181 189
182 } // namespace base 190 } // namespace base
183 191
184 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_ 192 #endif // BASE_THREADING_THREAD_RESTRICTIONS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/gdata_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698