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_BROWSER_BROWSER_THREAD_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_BROWSER_THREAD_IMPL_H_ |
6 #define CONTENT_BROWSER_BROWSER_THREAD_IMPL_H_ | 6 #define CONTENT_BROWSER_BROWSER_THREAD_IMPL_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/threading/thread.h" | 8 #include "base/threading/thread.h" |
10 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
11 #include "content/public/browser/browser_thread.h" | 10 #include "content/public/browser/browser_thread.h" |
12 | 11 |
13 namespace content { | 12 namespace content { |
14 | 13 |
15 class CONTENT_EXPORT BrowserThreadImpl | 14 class CONTENT_EXPORT BrowserThreadImpl |
16 : public BrowserThread, public base::Thread { | 15 : public BrowserThread, public base::Thread { |
17 public: | 16 public: |
(...skipping 29 matching lines...) Expand all Loading... |
47 void Initialize(); | 46 void Initialize(); |
48 | 47 |
49 // The identifier of this thread. Only one thread can exist with a given | 48 // The identifier of this thread. Only one thread can exist with a given |
50 // identifier at a given time. | 49 // identifier at a given time. |
51 ID identifier_; | 50 ID identifier_; |
52 }; | 51 }; |
53 | 52 |
54 } // namespace content | 53 } // namespace content |
55 | 54 |
56 #endif // CONTENT_BROWSER_BROWSER_THREAD_IMPL_H_ | 55 #endif // CONTENT_BROWSER_BROWSER_THREAD_IMPL_H_ |
OLD | NEW |