OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // When each service is created, we set a flag indicating this. At this point, | 5 // When each service is created, we set a flag indicating this. At this point, |
6 // the service initialization could fail or succeed. This allows us to remember | 6 // the service initialization could fail or succeed. This allows us to remember |
7 // if we tried to create a service, and not try creating it over and over if | 7 // if we tried to create a service, and not try creating it over and over if |
8 // the creation failed. | 8 // the creation failed. |
9 | 9 |
10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 virtual IOThread* io_thread(); | 52 virtual IOThread* io_thread(); |
53 virtual base::Thread* file_thread(); | 53 virtual base::Thread* file_thread(); |
54 virtual base::Thread* db_thread(); | 54 virtual base::Thread* db_thread(); |
55 virtual base::Thread* process_launcher_thread(); | 55 virtual base::Thread* process_launcher_thread(); |
56 virtual base::Thread* cache_thread(); | 56 virtual base::Thread* cache_thread(); |
57 virtual base::Thread* gpu_thread(); | 57 virtual base::Thread* gpu_thread(); |
58 #if defined(USE_X11) | 58 #if defined(USE_X11) |
59 virtual base::Thread* background_x11_thread(); | 59 virtual base::Thread* background_x11_thread(); |
60 #endif | 60 #endif |
61 virtual WatchDogThread* watchdog_thread(); | 61 virtual WatchDogThread* watchdog_thread(); |
| 62 #if defined(OS_CHROMEOS) |
| 63 virtual base::Thread* web_socket_proxy_thread(); |
| 64 #endif |
62 virtual ProfileManager* profile_manager(); | 65 virtual ProfileManager* profile_manager(); |
63 virtual PrefService* local_state(); | 66 virtual PrefService* local_state(); |
64 virtual DevToolsManager* devtools_manager(); | 67 virtual DevToolsManager* devtools_manager(); |
65 virtual SidebarManager* sidebar_manager(); | 68 virtual SidebarManager* sidebar_manager(); |
66 virtual ui::Clipboard* clipboard(); | 69 virtual ui::Clipboard* clipboard(); |
67 virtual net::URLRequestContextGetter* system_request_context(); | 70 virtual net::URLRequestContextGetter* system_request_context(); |
68 #if defined(OS_CHROMEOS) | 71 #if defined(OS_CHROMEOS) |
69 virtual chromeos::ProxyConfigServiceImpl* | 72 virtual chromeos::ProxyConfigServiceImpl* |
70 chromeos_proxy_config_service_impl(); | 73 chromeos_proxy_config_service_impl(); |
71 #endif // defined(OS_CHROMEOS) | 74 #endif // defined(OS_CHROMEOS) |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 static void CleanupOnIOThread(); | 126 static void CleanupOnIOThread(); |
124 | 127 |
125 void WaitForPluginDataRemoverToFinish(); | 128 void WaitForPluginDataRemoverToFinish(); |
126 | 129 |
127 void CreateFileThread(); | 130 void CreateFileThread(); |
128 void CreateDBThread(); | 131 void CreateDBThread(); |
129 void CreateProcessLauncherThread(); | 132 void CreateProcessLauncherThread(); |
130 void CreateCacheThread(); | 133 void CreateCacheThread(); |
131 void CreateGpuThread(); | 134 void CreateGpuThread(); |
132 void CreateWatchdogThread(); | 135 void CreateWatchdogThread(); |
| 136 #if defined(OS_CHROMEOS) |
| 137 void CreateWebSocketProxyThread(); |
| 138 #endif |
133 void CreateTemplateURLModel(); | 139 void CreateTemplateURLModel(); |
134 void CreateProfileManager(); | 140 void CreateProfileManager(); |
135 void CreateWebDataService(); | 141 void CreateWebDataService(); |
136 void CreateLocalState(); | 142 void CreateLocalState(); |
137 void CreateViewedPageTracker(); | 143 void CreateViewedPageTracker(); |
138 void CreateIconManager(); | 144 void CreateIconManager(); |
139 void CreateDevToolsManager(); | 145 void CreateDevToolsManager(); |
140 void CreateSidebarManager(); | 146 void CreateSidebarManager(); |
141 void CreateGoogleURLTracker(); | 147 void CreateGoogleURLTracker(); |
142 void CreateIntranetRedirectDetector(); | 148 void CreateIntranetRedirectDetector(); |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 | 185 |
180 bool created_cache_thread_; | 186 bool created_cache_thread_; |
181 scoped_ptr<base::Thread> cache_thread_; | 187 scoped_ptr<base::Thread> cache_thread_; |
182 | 188 |
183 bool created_gpu_thread_; | 189 bool created_gpu_thread_; |
184 scoped_ptr<base::Thread> gpu_thread_; | 190 scoped_ptr<base::Thread> gpu_thread_; |
185 | 191 |
186 bool created_watchdog_thread_; | 192 bool created_watchdog_thread_; |
187 scoped_ptr<WatchDogThread> watchdog_thread_; | 193 scoped_ptr<WatchDogThread> watchdog_thread_; |
188 | 194 |
| 195 #if defined(OS_CHROMEOS) |
| 196 bool created_web_socket_proxy_thread_; |
| 197 scoped_ptr<base::Thread> web_socket_proxy_thread_; |
| 198 #endif |
| 199 |
189 bool created_profile_manager_; | 200 bool created_profile_manager_; |
190 scoped_ptr<ProfileManager> profile_manager_; | 201 scoped_ptr<ProfileManager> profile_manager_; |
191 | 202 |
192 bool created_local_state_; | 203 bool created_local_state_; |
193 scoped_ptr<PrefService> local_state_; | 204 scoped_ptr<PrefService> local_state_; |
194 | 205 |
195 bool created_icon_manager_; | 206 bool created_icon_manager_; |
196 scoped_ptr<IconManager> icon_manager_; | 207 scoped_ptr<IconManager> icon_manager_; |
197 | 208 |
198 scoped_refptr<ExtensionEventRouterForwarder> | 209 scoped_refptr<ExtensionEventRouterForwarder> |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 | 294 |
284 #if defined(OS_CHROMEOS) | 295 #if defined(OS_CHROMEOS) |
285 scoped_refptr<chromeos::ProxyConfigServiceImpl> | 296 scoped_refptr<chromeos::ProxyConfigServiceImpl> |
286 chromeos_proxy_config_service_impl_; | 297 chromeos_proxy_config_service_impl_; |
287 #endif | 298 #endif |
288 | 299 |
289 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 300 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
290 }; | 301 }; |
291 | 302 |
292 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 303 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
OLD | NEW |