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

Side by Side Diff: content/public/browser/browser_thread.h

Issue 9558012: Cleanup: IWYU for BrowserThread. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix win Created 8 years, 9 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 | « content/browser/power_save_blocker_win.cc ('k') | no next file » | 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 CONTENT_PUBLIC_BROWSER_BROWSER_THREAD_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_BROWSER_THREAD_H_
6 #define CONTENT_PUBLIC_BROWSER_BROWSER_THREAD_H_ 6 #define CONTENT_PUBLIC_BROWSER_BROWSER_THREAD_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string>
10
9 #include "base/basictypes.h" 11 #include "base/basictypes.h"
10 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/location.h"
11 #include "base/message_loop_proxy.h" 14 #include "base/message_loop_proxy.h"
12 #include "base/tracked_objects.h" 15 #include "base/time.h"
13 #include "content/common/content_export.h" 16 #include "content/common/content_export.h"
14 #include "content/public/browser/browser_thread_delegate.h"
15 17
16 #if defined(UNIT_TEST) 18 #if defined(UNIT_TEST)
17 #include "base/logging.h" 19 #include "base/logging.h"
18 #endif // UNIT_TEST 20 #endif // UNIT_TEST
19 21
20 class MessageLoop; 22 class MessageLoop;
21 23
22 namespace base { 24 namespace base {
23 class SequencedWorkerPool; 25 class SequencedWorkerPool;
24 class Thread; 26 class Thread;
25 } 27 }
26 28
27 namespace content { 29 namespace content {
28 30
31 class BrowserThreadDelegate;
29 class BrowserThreadImpl; 32 class BrowserThreadImpl;
30 33
31 /////////////////////////////////////////////////////////////////////////////// 34 ///////////////////////////////////////////////////////////////////////////////
32 // BrowserThread 35 // BrowserThread
33 // 36 //
34 // Utility functions for threads that are known by a browser-wide 37 // Utility functions for threads that are known by a browser-wide
35 // name. For example, there is one IO thread for the entire browser 38 // name. For example, there is one IO thread for the entire browser
36 // process, and various pieces of code find it useful to retrieve a 39 // process, and various pieces of code find it useful to retrieve a
37 // pointer to the IO thread's message loop. 40 // pointer to the IO thread's message loop.
38 // 41 //
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 private: 265 private:
263 friend class BrowserThreadImpl; 266 friend class BrowserThreadImpl;
264 267
265 BrowserThread() {} 268 BrowserThread() {}
266 DISALLOW_COPY_AND_ASSIGN(BrowserThread); 269 DISALLOW_COPY_AND_ASSIGN(BrowserThread);
267 }; 270 };
268 271
269 } // namespace content 272 } // namespace content
270 273
271 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_THREAD_H_ 274 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_THREAD_H_
OLDNEW
« no previous file with comments | « content/browser/power_save_blocker_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698