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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "content/browser/browser_process_sub_thread.h" | 11 #include "content/browser/browser_process_sub_thread.h" |
12 | 12 |
| 13 #if defined(OS_WIN) |
| 14 #include "ui/base/win/scoped_ole_initializer.h" |
| 15 #endif |
| 16 |
13 class AudioManager; | 17 class AudioManager; |
14 class BrowserOnlineStateObserver; | 18 class BrowserOnlineStateObserver; |
15 class CommandLine; | 19 class CommandLine; |
16 class HighResolutionTimerManager; | 20 class HighResolutionTimerManager; |
17 class MessageLoop; | 21 class MessageLoop; |
18 class SystemMessageWindowWin; | 22 class SystemMessageWindowWin; |
19 | 23 |
20 namespace base { | 24 namespace base { |
21 class SystemMonitor; | 25 class SystemMonitor; |
22 } | 26 } |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 | 112 |
109 // Members initialized in |RunMainMessageLoopParts()| ------------------------ | 113 // Members initialized in |RunMainMessageLoopParts()| ------------------------ |
110 scoped_ptr<BrowserProcessSubThread> db_thread_; | 114 scoped_ptr<BrowserProcessSubThread> db_thread_; |
111 scoped_ptr<WebKitThread> webkit_thread_; | 115 scoped_ptr<WebKitThread> webkit_thread_; |
112 scoped_ptr<BrowserProcessSubThread> file_user_blocking_thread_; | 116 scoped_ptr<BrowserProcessSubThread> file_user_blocking_thread_; |
113 scoped_ptr<BrowserProcessSubThread> file_thread_; | 117 scoped_ptr<BrowserProcessSubThread> file_thread_; |
114 scoped_ptr<BrowserProcessSubThread> process_launcher_thread_; | 118 scoped_ptr<BrowserProcessSubThread> process_launcher_thread_; |
115 scoped_ptr<BrowserProcessSubThread> cache_thread_; | 119 scoped_ptr<BrowserProcessSubThread> cache_thread_; |
116 scoped_ptr<BrowserProcessSubThread> io_thread_; | 120 scoped_ptr<BrowserProcessSubThread> io_thread_; |
117 | 121 |
| 122 #if defined(OS_WIN) |
| 123 ui::ScopedOleInitializer ole_initializer_; |
| 124 #endif |
| 125 |
118 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); | 126 DISALLOW_COPY_AND_ASSIGN(BrowserMainLoop); |
119 }; | 127 }; |
120 | 128 |
121 } // namespace content | 129 } // namespace content |
122 | 130 |
123 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ | 131 #endif // CONTENT_BROWSER_BROWSER_MAIN_LOOP_H_ |
OLD | NEW |