| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 void PostStopThread(content::BrowserThread::ID identifier); | 64 void PostStopThread(content::BrowserThread::ID identifier); |
| 65 | 65 |
| 66 // BrowserProcess methods | 66 // BrowserProcess methods |
| 67 virtual void EndSession() OVERRIDE; | 67 virtual void EndSession() OVERRIDE; |
| 68 virtual ResourceDispatcherHost* resource_dispatcher_host() OVERRIDE; | 68 virtual ResourceDispatcherHost* resource_dispatcher_host() OVERRIDE; |
| 69 virtual MetricsService* metrics_service() OVERRIDE; | 69 virtual MetricsService* metrics_service() OVERRIDE; |
| 70 virtual IOThread* io_thread() OVERRIDE; | 70 virtual IOThread* io_thread() OVERRIDE; |
| 71 virtual WatchDogThread* watchdog_thread() OVERRIDE; | 71 virtual WatchDogThread* watchdog_thread() OVERRIDE; |
| 72 virtual ProfileManager* profile_manager() OVERRIDE; | 72 virtual ProfileManager* profile_manager() OVERRIDE; |
| 73 virtual PrefService* local_state() OVERRIDE; | 73 virtual PrefService* local_state() OVERRIDE; |
| 74 virtual SidebarManager* sidebar_manager() OVERRIDE; | |
| 75 virtual ui::Clipboard* clipboard() OVERRIDE; | 74 virtual ui::Clipboard* clipboard() OVERRIDE; |
| 76 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE; | 75 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE; |
| 77 #if defined(OS_CHROMEOS) | 76 #if defined(OS_CHROMEOS) |
| 78 virtual browser::OomPriorityManager* oom_priority_manager() OVERRIDE; | 77 virtual browser::OomPriorityManager* oom_priority_manager() OVERRIDE; |
| 79 #endif // defined(OS_CHROMEOS) | 78 #endif // defined(OS_CHROMEOS) |
| 80 virtual ExtensionEventRouterForwarder* | 79 virtual ExtensionEventRouterForwarder* |
| 81 extension_event_router_forwarder() OVERRIDE; | 80 extension_event_router_forwarder() OVERRIDE; |
| 82 virtual NotificationUIManager* notification_ui_manager() OVERRIDE; | 81 virtual NotificationUIManager* notification_ui_manager() OVERRIDE; |
| 83 virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE; | 82 virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE; |
| 84 virtual IconManager* icon_manager() OVERRIDE; | 83 virtual IconManager* icon_manager() OVERRIDE; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 void CreateWatchdogThread(); | 136 void CreateWatchdogThread(); |
| 138 #if defined(OS_CHROMEOS) | 137 #if defined(OS_CHROMEOS) |
| 139 void InitializeWebSocketProxyThread(); | 138 void InitializeWebSocketProxyThread(); |
| 140 #endif | 139 #endif |
| 141 void CreateTemplateURLService(); | 140 void CreateTemplateURLService(); |
| 142 void CreateProfileManager(); | 141 void CreateProfileManager(); |
| 143 void CreateWebDataService(); | 142 void CreateWebDataService(); |
| 144 void CreateLocalState(); | 143 void CreateLocalState(); |
| 145 void CreateViewedPageTracker(); | 144 void CreateViewedPageTracker(); |
| 146 void CreateIconManager(); | 145 void CreateIconManager(); |
| 147 void CreateSidebarManager(); | |
| 148 void CreateGoogleURLTracker(); | 146 void CreateGoogleURLTracker(); |
| 149 void CreateIntranetRedirectDetector(); | 147 void CreateIntranetRedirectDetector(); |
| 150 void CreateNotificationUIManager(); | 148 void CreateNotificationUIManager(); |
| 151 void CreateStatusTrayManager(); | 149 void CreateStatusTrayManager(); |
| 152 void CreateTabCloseableStateWatcher(); | 150 void CreateTabCloseableStateWatcher(); |
| 153 void CreatePrintPreviewTabController(); | 151 void CreatePrintPreviewTabController(); |
| 154 void CreateBackgroundPrintingManager(); | 152 void CreateBackgroundPrintingManager(); |
| 155 void CreateSafeBrowsingService(); | 153 void CreateSafeBrowsingService(); |
| 156 void CreateSafeBrowsingDetectionService(); | 154 void CreateSafeBrowsingDetectionService(); |
| 157 void CreateStatusTray(); | 155 void CreateStatusTray(); |
| (...skipping 21 matching lines...) Expand all Loading... |
| 179 scoped_ptr<PrefService> local_state_; | 177 scoped_ptr<PrefService> local_state_; |
| 180 | 178 |
| 181 bool created_icon_manager_; | 179 bool created_icon_manager_; |
| 182 scoped_ptr<IconManager> icon_manager_; | 180 scoped_ptr<IconManager> icon_manager_; |
| 183 | 181 |
| 184 scoped_refptr<ExtensionEventRouterForwarder> | 182 scoped_refptr<ExtensionEventRouterForwarder> |
| 185 extension_event_router_forwarder_; | 183 extension_event_router_forwarder_; |
| 186 | 184 |
| 187 scoped_ptr<RemoteDebuggingServer> remote_debugging_server_; | 185 scoped_ptr<RemoteDebuggingServer> remote_debugging_server_; |
| 188 | 186 |
| 189 bool created_sidebar_manager_; | |
| 190 scoped_refptr<SidebarManager> sidebar_manager_; | |
| 191 | |
| 192 bool created_browser_policy_connector_; | 187 bool created_browser_policy_connector_; |
| 193 scoped_ptr<policy::BrowserPolicyConnector> browser_policy_connector_; | 188 scoped_ptr<policy::BrowserPolicyConnector> browser_policy_connector_; |
| 194 | 189 |
| 195 scoped_refptr<printing::PrintPreviewTabController> | 190 scoped_refptr<printing::PrintPreviewTabController> |
| 196 print_preview_tab_controller_; | 191 print_preview_tab_controller_; |
| 197 | 192 |
| 198 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_; | 193 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_; |
| 199 | 194 |
| 200 scoped_ptr<ui::Clipboard> clipboard_; | 195 scoped_ptr<ui::Clipboard> clipboard_; |
| 201 | 196 |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 | 277 |
| 283 scoped_refptr<CRLSetFetcher> crl_set_fetcher_; | 278 scoped_refptr<CRLSetFetcher> crl_set_fetcher_; |
| 284 #endif | 279 #endif |
| 285 | 280 |
| 286 scoped_refptr<AudioManager> audio_manager_; | 281 scoped_refptr<AudioManager> audio_manager_; |
| 287 | 282 |
| 288 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 283 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
| 289 }; | 284 }; |
| 290 | 285 |
| 291 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 286 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
| OLD | NEW |