| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 virtual Clipboard* clipboard(); | 55 virtual Clipboard* clipboard(); |
| 56 virtual NotificationUIManager* notification_ui_manager(); | 56 virtual NotificationUIManager* notification_ui_manager(); |
| 57 virtual IconManager* icon_manager(); | 57 virtual IconManager* icon_manager(); |
| 58 virtual ThumbnailGenerator* GetThumbnailGenerator(); | 58 virtual ThumbnailGenerator* GetThumbnailGenerator(); |
| 59 virtual AutomationProviderList* InitAutomationProviderList(); | 59 virtual AutomationProviderList* InitAutomationProviderList(); |
| 60 virtual void InitDebuggerWrapper(int port, bool useHttp); | 60 virtual void InitDebuggerWrapper(int port, bool useHttp); |
| 61 virtual unsigned int AddRefModule(); | 61 virtual unsigned int AddRefModule(); |
| 62 virtual unsigned int ReleaseModule(); | 62 virtual unsigned int ReleaseModule(); |
| 63 virtual bool IsShuttingDown(); | 63 virtual bool IsShuttingDown(); |
| 64 virtual printing::PrintJobManager* print_job_manager(); | 64 virtual printing::PrintJobManager* print_job_manager(); |
| 65 virtual printing::PrintPreviewTabController* print_preview_tab_controller(); |
| 65 virtual GoogleURLTracker* google_url_tracker(); | 66 virtual GoogleURLTracker* google_url_tracker(); |
| 66 virtual IntranetRedirectDetector* intranet_redirect_detector(); | 67 virtual IntranetRedirectDetector* intranet_redirect_detector(); |
| 67 virtual const std::string& GetApplicationLocale(); | 68 virtual const std::string& GetApplicationLocale(); |
| 68 virtual void SetApplicationLocale(const std::string& locale); | 69 virtual void SetApplicationLocale(const std::string& locale); |
| 69 virtual DownloadStatusUpdater* download_status_updater(); | 70 virtual DownloadStatusUpdater* download_status_updater(); |
| 70 virtual base::WaitableEvent* shutdown_event(); | 71 virtual base::WaitableEvent* shutdown_event(); |
| 71 virtual TabCloseableStateWatcher* tab_closeable_state_watcher(); | 72 virtual TabCloseableStateWatcher* tab_closeable_state_watcher(); |
| 72 virtual void CheckForInspectorFiles(); | 73 virtual void CheckForInspectorFiles(); |
| 73 | 74 |
| 74 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) | 75 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) |
| (...skipping 28 matching lines...) Expand all Loading... |
| 103 void CreateViewedPageTracker(); | 104 void CreateViewedPageTracker(); |
| 104 void CreateIconManager(); | 105 void CreateIconManager(); |
| 105 void CreateDebuggerWrapper(int port, bool useHttp); | 106 void CreateDebuggerWrapper(int port, bool useHttp); |
| 106 void CreateDevToolsManager(); | 107 void CreateDevToolsManager(); |
| 107 void CreateSidebarManager(); | 108 void CreateSidebarManager(); |
| 108 void CreateGoogleURLTracker(); | 109 void CreateGoogleURLTracker(); |
| 109 void CreateIntranetRedirectDetector(); | 110 void CreateIntranetRedirectDetector(); |
| 110 void CreateNotificationUIManager(); | 111 void CreateNotificationUIManager(); |
| 111 void CreateStatusTrayManager(); | 112 void CreateStatusTrayManager(); |
| 112 void CreateTabCloseableStateWatcher(); | 113 void CreateTabCloseableStateWatcher(); |
| 114 void CreatePrintPreviewTabController(); |
| 113 | 115 |
| 114 #if defined(IPC_MESSAGE_LOG_ENABLED) | 116 #if defined(IPC_MESSAGE_LOG_ENABLED) |
| 115 void SetIPCLoggingEnabledForChildProcesses(bool enabled); | 117 void SetIPCLoggingEnabledForChildProcesses(bool enabled); |
| 116 #endif | 118 #endif |
| 117 | 119 |
| 118 bool created_resource_dispatcher_host_; | 120 bool created_resource_dispatcher_host_; |
| 119 scoped_ptr<ResourceDispatcherHost> resource_dispatcher_host_; | 121 scoped_ptr<ResourceDispatcherHost> resource_dispatcher_host_; |
| 120 | 122 |
| 121 bool created_metrics_service_; | 123 bool created_metrics_service_; |
| 122 scoped_ptr<MetricsService> metrics_service_; | 124 scoped_ptr<MetricsService> metrics_service_; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 151 | 153 |
| 152 bool created_debugger_wrapper_; | 154 bool created_debugger_wrapper_; |
| 153 scoped_refptr<DebuggerWrapper> debugger_wrapper_; | 155 scoped_refptr<DebuggerWrapper> debugger_wrapper_; |
| 154 | 156 |
| 155 bool created_devtools_manager_; | 157 bool created_devtools_manager_; |
| 156 scoped_refptr<DevToolsManager> devtools_manager_; | 158 scoped_refptr<DevToolsManager> devtools_manager_; |
| 157 | 159 |
| 158 bool created_sidebar_manager_; | 160 bool created_sidebar_manager_; |
| 159 scoped_refptr<SidebarManager> sidebar_manager_; | 161 scoped_refptr<SidebarManager> sidebar_manager_; |
| 160 | 162 |
| 163 scoped_refptr<printing::PrintPreviewTabController> |
| 164 print_preview_tab_controller_; |
| 165 |
| 161 scoped_ptr<Clipboard> clipboard_; | 166 scoped_ptr<Clipboard> clipboard_; |
| 162 | 167 |
| 163 // Manager for desktop notification UI. | 168 // Manager for desktop notification UI. |
| 164 bool created_notification_ui_manager_; | 169 bool created_notification_ui_manager_; |
| 165 scoped_ptr<NotificationUIManager> notification_ui_manager_; | 170 scoped_ptr<NotificationUIManager> notification_ui_manager_; |
| 166 | 171 |
| 167 scoped_ptr<AutomationProviderList> automation_provider_list_; | 172 scoped_ptr<AutomationProviderList> automation_provider_list_; |
| 168 | 173 |
| 169 scoped_ptr<GoogleURLTracker> google_url_tracker_; | 174 scoped_ptr<GoogleURLTracker> google_url_tracker_; |
| 170 scoped_ptr<IntranetRedirectDetector> intranet_redirect_detector_; | 175 scoped_ptr<IntranetRedirectDetector> intranet_redirect_detector_; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 // restarted, and if that's the case, restarts the browser. | 218 // restarted, and if that's the case, restarts the browser. |
| 214 void OnAutoupdateTimer(); | 219 void OnAutoupdateTimer(); |
| 215 bool CanAutorestartForUpdate() const; | 220 bool CanAutorestartForUpdate() const; |
| 216 void RestartPersistentInstance(); | 221 void RestartPersistentInstance(); |
| 217 #endif // defined(OS_WIN) || defined(OS_LINUX) | 222 #endif // defined(OS_WIN) || defined(OS_LINUX) |
| 218 | 223 |
| 219 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 224 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
| 220 }; | 225 }; |
| 221 | 226 |
| 222 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 227 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
| OLD | NEW |