| 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 | 121 |
| 122 virtual ChromeNetLog* net_log() OVERRIDE; | 122 virtual ChromeNetLog* net_log() OVERRIDE; |
| 123 virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE; | 123 virtual prerender::PrerenderTracker* prerender_tracker() 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 PnaclComponentInstaller* pnacl_component_installer() OVERRIDE; | 126 virtual PnaclComponentInstaller* pnacl_component_installer() OVERRIDE; |
| 127 virtual BookmarkPromptController* bookmark_prompt_controller() OVERRIDE; | 127 virtual BookmarkPromptController* bookmark_prompt_controller() OVERRIDE; |
| 128 virtual chrome::MediaFileSystemRegistry* | 128 virtual chrome::MediaFileSystemRegistry* |
| 129 media_file_system_registry() OVERRIDE; | 129 media_file_system_registry() OVERRIDE; |
| 130 virtual bool created_local_state() const OVERRIDE; | 130 virtual bool created_local_state() const OVERRIDE; |
| 131 #if defined(ENABLE_WEBRTC) |
| 132 virtual WebRtcLogUploader* webrtc_log_uploader() OVERRIDE; |
| 133 #endif |
| 131 | 134 |
| 132 static void RegisterPrefs(PrefRegistrySimple* registry); | 135 static void RegisterPrefs(PrefRegistrySimple* registry); |
| 133 | 136 |
| 134 private: | 137 private: |
| 135 void CreateMetricsService(); | 138 void CreateMetricsService(); |
| 136 void CreateWatchdogThread(); | 139 void CreateWatchdogThread(); |
| 137 void CreateProfileManager(); | 140 void CreateProfileManager(); |
| 138 void CreateLocalState(); | 141 void CreateLocalState(); |
| 139 void CreateViewedPageTracker(); | 142 void CreateViewedPageTracker(); |
| 140 void CreateIconManager(); | 143 void CreateIconManager(); |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 // Hosts the IPC channel factory that App Shims connect to on Mac. | 289 // Hosts the IPC channel factory that App Shims connect to on Mac. |
| 287 scoped_ptr<AppShimHostManager> app_shim_host_manager_; | 290 scoped_ptr<AppShimHostManager> app_shim_host_manager_; |
| 288 #endif | 291 #endif |
| 289 | 292 |
| 290 scoped_ptr<BrowserProcessPlatformPart> platform_part_; | 293 scoped_ptr<BrowserProcessPlatformPart> platform_part_; |
| 291 | 294 |
| 292 // TODO(eroman): Remove this when done debugging 113031. This tracks | 295 // TODO(eroman): Remove this when done debugging 113031. This tracks |
| 293 // the callstack which released the final module reference count. | 296 // the callstack which released the final module reference count. |
| 294 base::debug::StackTrace release_last_reference_callstack_; | 297 base::debug::StackTrace release_last_reference_callstack_; |
| 295 | 298 |
| 299 #if defined(ENABLE_WEBRTC) |
| 300 // Lazily initialized. |
| 301 scoped_ptr<WebRtcLogUploader> webrtc_log_uploader_; |
| 302 #endif |
| 303 |
| 296 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 304 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
| 297 }; | 305 }; |
| 298 | 306 |
| 299 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 307 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
| OLD | NEW |