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 virtual policy::ConfigurationPolicyProviderKeeper* | 64 virtual policy::ConfigurationPolicyProviderKeeper* |
65 configuration_policy_provider_keeper(); | 65 configuration_policy_provider_keeper(); |
66 virtual IconManager* icon_manager(); | 66 virtual IconManager* icon_manager(); |
67 virtual ThumbnailGenerator* GetThumbnailGenerator(); | 67 virtual ThumbnailGenerator* GetThumbnailGenerator(); |
68 virtual AutomationProviderList* InitAutomationProviderList(); | 68 virtual AutomationProviderList* InitAutomationProviderList(); |
69 virtual void InitDebuggerWrapper(int port, bool useHttp); | 69 virtual void InitDebuggerWrapper(int port, bool useHttp); |
70 virtual unsigned int AddRefModule(); | 70 virtual unsigned int AddRefModule(); |
71 virtual unsigned int ReleaseModule(); | 71 virtual unsigned int ReleaseModule(); |
72 virtual bool IsShuttingDown(); | 72 virtual bool IsShuttingDown(); |
73 virtual printing::PrintJobManager* print_job_manager(); | 73 virtual printing::PrintJobManager* print_job_manager(); |
74 virtual printing::PrintPreviewTabController* print_preview_tab_controller(); | 74 virtual printing::PrintPreviewManager* print_preview_manager(); |
75 virtual GoogleURLTracker* google_url_tracker(); | 75 virtual GoogleURLTracker* google_url_tracker(); |
76 virtual IntranetRedirectDetector* intranet_redirect_detector(); | 76 virtual IntranetRedirectDetector* intranet_redirect_detector(); |
77 virtual const std::string& GetApplicationLocale(); | 77 virtual const std::string& GetApplicationLocale(); |
78 virtual void SetApplicationLocale(const std::string& locale); | 78 virtual void SetApplicationLocale(const std::string& locale); |
79 virtual DownloadStatusUpdater* download_status_updater(); | 79 virtual DownloadStatusUpdater* download_status_updater(); |
80 virtual base::WaitableEvent* shutdown_event(); | 80 virtual base::WaitableEvent* shutdown_event(); |
81 virtual TabCloseableStateWatcher* tab_closeable_state_watcher(); | 81 virtual TabCloseableStateWatcher* tab_closeable_state_watcher(); |
82 virtual safe_browsing::ClientSideDetectionService* | 82 virtual safe_browsing::ClientSideDetectionService* |
83 safe_browsing_detection_service(); | 83 safe_browsing_detection_service(); |
84 virtual void CheckForInspectorFiles(); | 84 virtual void CheckForInspectorFiles(); |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 void CreateViewedPageTracker(); | 122 void CreateViewedPageTracker(); |
123 void CreateIconManager(); | 123 void CreateIconManager(); |
124 void CreateDebuggerWrapper(int port, bool useHttp); | 124 void CreateDebuggerWrapper(int port, bool useHttp); |
125 void CreateDevToolsManager(); | 125 void CreateDevToolsManager(); |
126 void CreateSidebarManager(); | 126 void CreateSidebarManager(); |
127 void CreateGoogleURLTracker(); | 127 void CreateGoogleURLTracker(); |
128 void CreateIntranetRedirectDetector(); | 128 void CreateIntranetRedirectDetector(); |
129 void CreateNotificationUIManager(); | 129 void CreateNotificationUIManager(); |
130 void CreateStatusTrayManager(); | 130 void CreateStatusTrayManager(); |
131 void CreateTabCloseableStateWatcher(); | 131 void CreateTabCloseableStateWatcher(); |
132 void CreatePrintPreviewTabController(); | 132 void CreatePrintPreviewManager(); |
133 void CreateSafeBrowsingDetectionService(); | 133 void CreateSafeBrowsingDetectionService(); |
134 | 134 |
135 bool IsSafeBrowsingDetectionServiceEnabled(); | 135 bool IsSafeBrowsingDetectionServiceEnabled(); |
136 | 136 |
137 #if defined(IPC_MESSAGE_LOG_ENABLED) | 137 #if defined(IPC_MESSAGE_LOG_ENABLED) |
138 void SetIPCLoggingEnabledForChildProcesses(bool enabled); | 138 void SetIPCLoggingEnabledForChildProcesses(bool enabled); |
139 #endif | 139 #endif |
140 | 140 |
141 bool created_resource_dispatcher_host_; | 141 bool created_resource_dispatcher_host_; |
142 scoped_ptr<ResourceDispatcherHost> resource_dispatcher_host_; | 142 scoped_ptr<ResourceDispatcherHost> resource_dispatcher_host_; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 bool created_devtools_manager_; | 178 bool created_devtools_manager_; |
179 scoped_refptr<DevToolsManager> devtools_manager_; | 179 scoped_refptr<DevToolsManager> devtools_manager_; |
180 | 180 |
181 bool created_sidebar_manager_; | 181 bool created_sidebar_manager_; |
182 scoped_refptr<SidebarManager> sidebar_manager_; | 182 scoped_refptr<SidebarManager> sidebar_manager_; |
183 | 183 |
184 bool created_configuration_policy_provider_keeper_; | 184 bool created_configuration_policy_provider_keeper_; |
185 scoped_ptr<policy::ConfigurationPolicyProviderKeeper> | 185 scoped_ptr<policy::ConfigurationPolicyProviderKeeper> |
186 configuration_policy_provider_keeper_; | 186 configuration_policy_provider_keeper_; |
187 | 187 |
188 scoped_refptr<printing::PrintPreviewTabController> | 188 scoped_refptr<printing::PrintPreviewManager> print_preview_manager_; |
189 print_preview_tab_controller_; | |
190 | 189 |
191 scoped_ptr<ui::Clipboard> clipboard_; | 190 scoped_ptr<ui::Clipboard> clipboard_; |
192 | 191 |
193 // Manager for desktop notification UI. | 192 // Manager for desktop notification UI. |
194 bool created_notification_ui_manager_; | 193 bool created_notification_ui_manager_; |
195 scoped_ptr<NotificationUIManager> notification_ui_manager_; | 194 scoped_ptr<NotificationUIManager> notification_ui_manager_; |
196 | 195 |
197 scoped_ptr<AutomationProviderList> automation_provider_list_; | 196 scoped_ptr<AutomationProviderList> automation_provider_list_; |
198 | 197 |
199 scoped_ptr<GoogleURLTracker> google_url_tracker_; | 198 scoped_ptr<GoogleURLTracker> google_url_tracker_; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 // restarted, and if that's the case, restarts the browser. | 252 // restarted, and if that's the case, restarts the browser. |
254 void OnAutoupdateTimer(); | 253 void OnAutoupdateTimer(); |
255 bool CanAutorestartForUpdate() const; | 254 bool CanAutorestartForUpdate() const; |
256 void RestartPersistentInstance(); | 255 void RestartPersistentInstance(); |
257 #endif // defined(OS_WIN) || defined(OS_LINUX) | 256 #endif // defined(OS_WIN) || defined(OS_LINUX) |
258 | 257 |
259 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 258 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
260 }; | 259 }; |
261 | 260 |
262 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 261 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
OLD | NEW |