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 // 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 | 116 |
117 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) | 117 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) |
118 virtual void StartAutoupdateTimer() OVERRIDE; | 118 virtual void StartAutoupdateTimer() OVERRIDE; |
119 #endif | 119 #endif |
120 | 120 |
121 virtual ChromeNetLog* net_log() OVERRIDE; | 121 virtual ChromeNetLog* net_log() OVERRIDE; |
122 virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE; | 122 virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE; |
123 virtual MHTMLGenerationManager* mhtml_generation_manager() OVERRIDE; | 123 virtual MHTMLGenerationManager* mhtml_generation_manager() OVERRIDE; |
124 virtual ComponentUpdateService* component_updater() OVERRIDE; | 124 virtual ComponentUpdateService* component_updater() OVERRIDE; |
125 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE; | 125 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE; |
126 virtual AudioManager* audio_manager() OVERRIDE; | |
127 | 126 |
128 private: | 127 private: |
129 void CreateMetricsService(); | 128 void CreateMetricsService(); |
130 void CreateWatchdogThread(); | 129 void CreateWatchdogThread(); |
131 #if defined(OS_CHROMEOS) | 130 #if defined(OS_CHROMEOS) |
132 void InitializeWebSocketProxyThread(); | 131 void InitializeWebSocketProxyThread(); |
133 #endif | 132 #endif |
134 void CreateTemplateURLService(); | 133 void CreateTemplateURLService(); |
135 void CreateProfileManager(); | 134 void CreateProfileManager(); |
136 void CreateWebDataService(); | 135 void CreateWebDataService(); |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 | 260 |
262 // Per-process listener for online state changes. | 261 // Per-process listener for online state changes. |
263 scoped_ptr<BrowserOnlineStateObserver> online_state_observer_; | 262 scoped_ptr<BrowserOnlineStateObserver> online_state_observer_; |
264 | 263 |
265 #if !defined(OS_CHROMEOS) | 264 #if !defined(OS_CHROMEOS) |
266 scoped_ptr<ComponentUpdateService> component_updater_; | 265 scoped_ptr<ComponentUpdateService> component_updater_; |
267 | 266 |
268 scoped_refptr<CRLSetFetcher> crl_set_fetcher_; | 267 scoped_refptr<CRLSetFetcher> crl_set_fetcher_; |
269 #endif | 268 #endif |
270 | 269 |
271 scoped_ptr<AudioManager> audio_manager_; | |
272 | |
273 // TODO(eroman): Remove this when done debugging 113031. This tracks | 270 // TODO(eroman): Remove this when done debugging 113031. This tracks |
274 // the callstack which released the final module reference count. | 271 // the callstack which released the final module reference count. |
275 base::debug::StackTrace release_last_reference_callstack_; | 272 base::debug::StackTrace release_last_reference_callstack_; |
276 | 273 |
277 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 274 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
278 }; | 275 }; |
279 | 276 |
280 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 277 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
OLD | NEW |