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