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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 virtual prerender::PrerenderTracker* prerender_tracker(); | 119 virtual prerender::PrerenderTracker* prerender_tracker(); |
120 | 120 |
121 #if defined(IPC_MESSAGE_LOG_ENABLED) | 121 #if defined(IPC_MESSAGE_LOG_ENABLED) |
122 virtual void SetIPCLoggingEnabled(bool enable); | 122 virtual void SetIPCLoggingEnabled(bool enable); |
123 #endif | 123 #endif |
124 | 124 |
125 virtual MHTMLGenerationManager* mhtml_generation_manager(); | 125 virtual MHTMLGenerationManager* mhtml_generation_manager(); |
126 | 126 |
127 virtual GpuBlacklistUpdater* gpu_blacklist_updater(); | 127 virtual GpuBlacklistUpdater* gpu_blacklist_updater(); |
128 | 128 |
| 129 virtual ComponentUpdateService* component_updater(); |
| 130 |
129 private: | 131 private: |
130 void CreateResourceDispatcherHost(); | 132 void CreateResourceDispatcherHost(); |
131 void CreateMetricsService(); | 133 void CreateMetricsService(); |
132 | 134 |
133 void CreateIOThread(); | 135 void CreateIOThread(); |
134 static void CleanupOnIOThread(); | 136 static void CleanupOnIOThread(); |
135 | 137 |
136 void CreateFileThread(); | 138 void CreateFileThread(); |
137 void CreateDBThread(); | 139 void CreateDBThread(); |
138 void CreateProcessLauncherThread(); | 140 void CreateProcessLauncherThread(); |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 #if defined(OS_CHROMEOS) | 316 #if defined(OS_CHROMEOS) |
315 scoped_refptr<chromeos::ProxyConfigServiceImpl> | 317 scoped_refptr<chromeos::ProxyConfigServiceImpl> |
316 chromeos_proxy_config_service_impl_; | 318 chromeos_proxy_config_service_impl_; |
317 #endif | 319 #endif |
318 | 320 |
319 // Per-process listener for online state changes. | 321 // Per-process listener for online state changes. |
320 scoped_ptr<BrowserOnlineStateObserver> online_state_observer_; | 322 scoped_ptr<BrowserOnlineStateObserver> online_state_observer_; |
321 | 323 |
322 scoped_refptr<GpuBlacklistUpdater> gpu_blacklist_updater_; | 324 scoped_refptr<GpuBlacklistUpdater> gpu_blacklist_updater_; |
323 | 325 |
| 326 #if !defined(OS_CHROMEOS) |
| 327 scoped_ptr<ComponentUpdateService> component_updater_; |
| 328 #endif |
| 329 |
324 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 330 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
325 }; | 331 }; |
326 | 332 |
327 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 333 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
OLD | NEW |