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 18 matching lines...) Expand all Loading... |
29 class PromoResourceService; | 29 class PromoResourceService; |
30 | 30 |
31 #if defined(ENABLE_PLUGIN_INSTALLATION) | 31 #if defined(ENABLE_PLUGIN_INSTALLATION) |
32 class PluginsResourceService; | 32 class PluginsResourceService; |
33 #endif | 33 #endif |
34 | 34 |
35 namespace base { | 35 namespace base { |
36 class SequencedTaskRunner; | 36 class SequencedTaskRunner; |
37 } | 37 } |
38 | 38 |
| 39 namespace components { |
| 40 class WebRtcLogUploader; |
| 41 } |
| 42 |
39 namespace policy { | 43 namespace policy { |
40 class BrowserPolicyConnector; | 44 class BrowserPolicyConnector; |
41 class PolicyService; | 45 class PolicyService; |
42 }; | 46 }; |
43 | 47 |
44 #if defined(OS_WIN) && defined(USE_AURA) | 48 #if defined(OS_WIN) && defined(USE_AURA) |
45 class MetroViewerProcessHost; | 49 class MetroViewerProcessHost; |
46 #endif | 50 #endif |
47 | 51 |
48 #if defined(OS_MACOSX) | 52 #if defined(OS_MACOSX) |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 virtual PnaclComponentInstaller* pnacl_component_installer() OVERRIDE; | 137 virtual PnaclComponentInstaller* pnacl_component_installer() OVERRIDE; |
134 virtual BookmarkPromptController* bookmark_prompt_controller() OVERRIDE; | 138 virtual BookmarkPromptController* bookmark_prompt_controller() OVERRIDE; |
135 virtual chrome::MediaFileSystemRegistry* | 139 virtual chrome::MediaFileSystemRegistry* |
136 media_file_system_registry() OVERRIDE; | 140 media_file_system_registry() OVERRIDE; |
137 virtual void PlatformSpecificCommandLineProcessing( | 141 virtual void PlatformSpecificCommandLineProcessing( |
138 const CommandLine& command_line) OVERRIDE; | 142 const CommandLine& command_line) OVERRIDE; |
139 virtual bool created_local_state() const OVERRIDE; | 143 virtual bool created_local_state() const OVERRIDE; |
140 #if defined(OS_WIN) && defined(USE_AURA) | 144 #if defined(OS_WIN) && defined(USE_AURA) |
141 virtual void OnMetroViewerProcessTerminated() OVERRIDE; | 145 virtual void OnMetroViewerProcessTerminated() OVERRIDE; |
142 #endif | 146 #endif |
| 147 virtual components::WebRtcLogUploader* webrtc_log_uploader() OVERRIDE; |
143 | 148 |
144 static void RegisterPrefs(PrefRegistrySimple* registry); | 149 static void RegisterPrefs(PrefRegistrySimple* registry); |
145 | 150 |
146 private: | 151 private: |
147 void CreateMetricsService(); | 152 void CreateMetricsService(); |
148 void CreateWatchdogThread(); | 153 void CreateWatchdogThread(); |
149 void CreateProfileManager(); | 154 void CreateProfileManager(); |
150 void CreateLocalState(); | 155 void CreateLocalState(); |
151 void CreateViewedPageTracker(); | 156 void CreateViewedPageTracker(); |
152 void CreateIconManager(); | 157 void CreateIconManager(); |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 // Hosts the IPC channel factory that App Shims connect to on Mac. | 311 // Hosts the IPC channel factory that App Shims connect to on Mac. |
307 scoped_ptr<AppShimHostManager> app_shim_host_manager_; | 312 scoped_ptr<AppShimHostManager> app_shim_host_manager_; |
308 #endif | 313 #endif |
309 | 314 |
310 scoped_ptr<BrowserProcessPlatformPart> platform_part_; | 315 scoped_ptr<BrowserProcessPlatformPart> platform_part_; |
311 | 316 |
312 // TODO(eroman): Remove this when done debugging 113031. This tracks | 317 // TODO(eroman): Remove this when done debugging 113031. This tracks |
313 // the callstack which released the final module reference count. | 318 // the callstack which released the final module reference count. |
314 base::debug::StackTrace release_last_reference_callstack_; | 319 base::debug::StackTrace release_last_reference_callstack_; |
315 | 320 |
| 321 #if defined(ENABLE_WEBRTC) |
| 322 scoped_ptr<components::WebRtcLogUploader> webrtc_log_uploader_; |
| 323 #endif |
| 324 |
316 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 325 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
317 }; | 326 }; |
318 | 327 |
319 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 328 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
OLD | NEW |