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_MAIN_LOOP_H_ | 5 #ifndef CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ |
6 #define CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ | 6 #define CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "content/browser/browser_process_sub_thread.h" | 10 #include "content/browser/browser_process_sub_thread.h" |
11 | 11 |
12 #if defined(OS_WIN) | |
13 #include "ui/base/win/scoped_ole_initializer.h" | |
14 #endif | |
15 | |
16 class BrowserOnlineStateObserver; | 12 class BrowserOnlineStateObserver; |
17 class CommandLine; | 13 class CommandLine; |
18 class HighResolutionTimerManager; | 14 class HighResolutionTimerManager; |
19 class MessageLoop; | 15 class MessageLoop; |
20 class SystemMessageWindowWin; | 16 class SystemMessageWindowWin; |
21 | 17 |
22 namespace base { | 18 namespace base { |
23 class SystemMonitor; | 19 class SystemMonitor; |
24 } | 20 } |
25 | 21 |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 scoped_ptr<BrowserProcessSubThread> db_thread_; | 129 scoped_ptr<BrowserProcessSubThread> db_thread_; |
134 #if !defined(OS_IOS) | 130 #if !defined(OS_IOS) |
135 scoped_ptr<WebKitThread> webkit_thread_; | 131 scoped_ptr<WebKitThread> webkit_thread_; |
136 #endif | 132 #endif |
137 scoped_ptr<BrowserProcessSubThread> file_user_blocking_thread_; | 133 scoped_ptr<BrowserProcessSubThread> file_user_blocking_thread_; |
138 scoped_ptr<BrowserProcessSubThread> file_thread_; | 134 scoped_ptr<BrowserProcessSubThread> file_thread_; |
139 scoped_ptr<BrowserProcessSubThread> process_launcher_thread_; | 135 scoped_ptr<BrowserProcessSubThread> process_launcher_thread_; |
140 scoped_ptr<BrowserProcessSubThread> cache_thread_; | 136 scoped_ptr<BrowserProcessSubThread> cache_thread_; |
141 scoped_ptr<BrowserProcessSubThread> io_thread_; | 137 scoped_ptr<BrowserProcessSubThread> io_thread_; |
142 | 138 |
143 #if defined(OS_WIN) | |
144 ui::ScopedOleInitializer ole_initializer_; | |
145 #endif | |
146 | |
147 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); | 139 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); |
148 }; | 140 }; |
149 | 141 |
150 } // namespace content | 142 } // namespace content |
151 | 143 |
152 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ | 144 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ |
OLD | NEW |