OLD | NEW |
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 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/location.h" | 11 #include "base/location.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/ref_counted.h" |
14 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
15 #include "base/task_runner_util.h" | 16 #include "base/task_runner_util.h" |
16 #include "base/time/time.h" | 17 #include "base/time/time.h" |
17 #include "content/common/content_export.h" | 18 #include "content/common/content_export.h" |
18 | 19 |
19 namespace base { | 20 namespace base { |
20 class MessageLoop; | 21 class MessageLoop; |
21 class SequencedWorkerPool; | 22 class SequencedWorkerPool; |
22 class Thread; | 23 class Thread; |
23 } | 24 } |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 private: | 298 private: |
298 friend class BrowserThreadImpl; | 299 friend class BrowserThreadImpl; |
299 | 300 |
300 BrowserThread() {} | 301 BrowserThread() {} |
301 DISALLOW_COPY_AND_ASSIGN(BrowserThread); | 302 DISALLOW_COPY_AND_ASSIGN(BrowserThread); |
302 }; | 303 }; |
303 | 304 |
304 } // namespace content | 305 } // namespace content |
305 | 306 |
306 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_THREAD_H_ | 307 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_THREAD_H_ |
OLD | NEW |