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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 virtual void StartAutoupdateTimer() OVERRIDE; | 123 virtual void StartAutoupdateTimer() OVERRIDE; |
124 #endif | 124 #endif |
125 | 125 |
126 virtual ChromeNetLog* net_log() OVERRIDE; | 126 virtual ChromeNetLog* net_log() OVERRIDE; |
127 virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE; | 127 virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE; |
128 virtual ComponentUpdateService* component_updater() OVERRIDE; | 128 virtual ComponentUpdateService* component_updater() OVERRIDE; |
129 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE; | 129 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE; |
130 virtual BookmarkPromptController* bookmark_prompt_controller() OVERRIDE; | 130 virtual BookmarkPromptController* bookmark_prompt_controller() OVERRIDE; |
131 virtual chrome::MediaFileSystemRegistry* | 131 virtual chrome::MediaFileSystemRegistry* |
132 media_file_system_registry() OVERRIDE; | 132 media_file_system_registry() OVERRIDE; |
| 133 #if defined(OS_CHROMEOS) |
| 134 virtual policy::DevicePolicyChangeWatcher* |
| 135 device_policy_change_watcher() OVERRIDE; |
| 136 #endif |
133 virtual void PlatformSpecificCommandLineProcessing( | 137 virtual void PlatformSpecificCommandLineProcessing( |
134 const CommandLine& command_line) OVERRIDE; | 138 const CommandLine& command_line) OVERRIDE; |
135 | 139 |
136 static void RegisterPrefs(PrefRegistrySimple* registry); | 140 static void RegisterPrefs(PrefRegistrySimple* registry); |
137 | 141 |
138 private: | 142 private: |
139 void CreateMetricsService(); | 143 void CreateMetricsService(); |
140 void CreateWatchdogThread(); | 144 void CreateWatchdogThread(); |
141 #if defined(OS_CHROMEOS) | 145 #if defined(OS_CHROMEOS) |
142 void InitializeWebSocketProxyThread(); | 146 void InitializeWebSocketProxyThread(); |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 | 201 |
198 #if !defined(OS_ANDROID) | 202 #if !defined(OS_ANDROID) |
199 scoped_ptr<RemoteDebuggingServer> remote_debugging_server_; | 203 scoped_ptr<RemoteDebuggingServer> remote_debugging_server_; |
200 | 204 |
201 // Bookmark prompt controller displays the prompt for frequently visited URL. | 205 // Bookmark prompt controller displays the prompt for frequently visited URL. |
202 scoped_ptr<BookmarkPromptController> bookmark_prompt_controller_; | 206 scoped_ptr<BookmarkPromptController> bookmark_prompt_controller_; |
203 #endif | 207 #endif |
204 | 208 |
205 scoped_ptr<chrome::MediaFileSystemRegistry> media_file_system_registry_; | 209 scoped_ptr<chrome::MediaFileSystemRegistry> media_file_system_registry_; |
206 | 210 |
| 211 #if defined(OS_CHROMEOS) |
| 212 scoped_ptr<policy::DevicePolicyChangeWatcher> device_policy_change_watcher_; |
| 213 #endif |
| 214 |
207 scoped_refptr<printing::PrintPreviewDialogController> | 215 scoped_refptr<printing::PrintPreviewDialogController> |
208 print_preview_dialog_controller_; | 216 print_preview_dialog_controller_; |
209 | 217 |
210 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_; | 218 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_; |
211 | 219 |
212 scoped_ptr<chrome_variations::VariationsService> variations_service_; | 220 scoped_ptr<chrome_variations::VariationsService> variations_service_; |
213 | 221 |
214 // Manager for desktop notification UI. | 222 // Manager for desktop notification UI. |
215 bool created_notification_ui_manager_; | 223 bool created_notification_ui_manager_; |
216 scoped_ptr<NotificationUIManager> notification_ui_manager_; | 224 scoped_ptr<NotificationUIManager> notification_ui_manager_; |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 #endif | 314 #endif |
307 | 315 |
308 // TODO(eroman): Remove this when done debugging 113031. This tracks | 316 // TODO(eroman): Remove this when done debugging 113031. This tracks |
309 // the callstack which released the final module reference count. | 317 // the callstack which released the final module reference count. |
310 base::debug::StackTrace release_last_reference_callstack_; | 318 base::debug::StackTrace release_last_reference_callstack_; |
311 | 319 |
312 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 320 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
313 }; | 321 }; |
314 | 322 |
315 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 323 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
OLD | NEW |