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* webproxy_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 CreateWebproxyThread(); |
| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 | 182 |
177 bool created_cache_thread_; | 183 bool created_cache_thread_; |
178 scoped_ptr<base::Thread> cache_thread_; | 184 scoped_ptr<base::Thread> cache_thread_; |
179 | 185 |
180 bool created_gpu_thread_; | 186 bool created_gpu_thread_; |
181 scoped_ptr<base::Thread> gpu_thread_; | 187 scoped_ptr<base::Thread> gpu_thread_; |
182 | 188 |
183 bool created_watchdog_thread_; | 189 bool created_watchdog_thread_; |
184 scoped_ptr<WatchDogThread> watchdog_thread_; | 190 scoped_ptr<WatchDogThread> watchdog_thread_; |
185 | 191 |
| 192 #if defined(OS_CHROMEOS) |
| 193 bool created_webproxy_thread_; |
| 194 scoped_ptr<base::Thread> webproxy_thread_; |
| 195 #endif |
| 196 |
186 bool created_profile_manager_; | 197 bool created_profile_manager_; |
187 scoped_ptr<ProfileManager> profile_manager_; | 198 scoped_ptr<ProfileManager> profile_manager_; |
188 | 199 |
189 bool created_local_state_; | 200 bool created_local_state_; |
190 scoped_ptr<PrefService> local_state_; | 201 scoped_ptr<PrefService> local_state_; |
191 | 202 |
192 bool created_icon_manager_; | 203 bool created_icon_manager_; |
193 scoped_ptr<IconManager> icon_manager_; | 204 scoped_ptr<IconManager> icon_manager_; |
194 | 205 |
195 scoped_refptr<ExtensionEventRouterForwarder> | 206 scoped_refptr<ExtensionEventRouterForwarder> |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 | 289 |
279 #if defined(OS_CHROMEOS) | 290 #if defined(OS_CHROMEOS) |
280 scoped_refptr<chromeos::ProxyConfigServiceImpl> | 291 scoped_refptr<chromeos::ProxyConfigServiceImpl> |
281 chromeos_proxy_config_service_impl_; | 292 chromeos_proxy_config_service_impl_; |
282 #endif | 293 #endif |
283 | 294 |
284 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 295 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
285 }; | 296 }; |
286 | 297 |
287 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 298 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
OLD | NEW |