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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 virtual printing::BackgroundPrintingManager* | 95 virtual printing::BackgroundPrintingManager* |
96 background_printing_manager() OVERRIDE; | 96 background_printing_manager() OVERRIDE; |
97 virtual GoogleURLTracker* google_url_tracker() OVERRIDE; | 97 virtual GoogleURLTracker* google_url_tracker() OVERRIDE; |
98 virtual IntranetRedirectDetector* intranet_redirect_detector() OVERRIDE; | 98 virtual IntranetRedirectDetector* intranet_redirect_detector() OVERRIDE; |
99 virtual const std::string& GetApplicationLocale() OVERRIDE; | 99 virtual const std::string& GetApplicationLocale() OVERRIDE; |
100 virtual void SetApplicationLocale(const std::string& locale) OVERRIDE; | 100 virtual void SetApplicationLocale(const std::string& locale) OVERRIDE; |
101 virtual DownloadStatusUpdater* download_status_updater() OVERRIDE; | 101 virtual DownloadStatusUpdater* download_status_updater() OVERRIDE; |
102 virtual DownloadRequestLimiter* download_request_limiter() OVERRIDE; | 102 virtual DownloadRequestLimiter* download_request_limiter() OVERRIDE; |
103 virtual TabCloseableStateWatcher* tab_closeable_state_watcher() OVERRIDE; | 103 virtual TabCloseableStateWatcher* tab_closeable_state_watcher() OVERRIDE; |
104 virtual BackgroundModeManager* background_mode_manager() OVERRIDE; | 104 virtual BackgroundModeManager* background_mode_manager() OVERRIDE; |
| 105 virtual MediaStreamCaptureIndicator* media_stream_capture_indicator() |
| 106 OVERRIDE; |
105 virtual StatusTray* status_tray() OVERRIDE; | 107 virtual StatusTray* status_tray() OVERRIDE; |
106 virtual SafeBrowsingService* safe_browsing_service() OVERRIDE; | 108 virtual SafeBrowsingService* safe_browsing_service() OVERRIDE; |
107 virtual safe_browsing::ClientSideDetectionService* | 109 virtual safe_browsing::ClientSideDetectionService* |
108 safe_browsing_detection_service() OVERRIDE; | 110 safe_browsing_detection_service() OVERRIDE; |
109 virtual bool plugin_finder_disabled() const OVERRIDE; | 111 virtual bool plugin_finder_disabled() const OVERRIDE; |
110 | 112 |
111 // content::NotificationObserver methods | 113 // content::NotificationObserver methods |
112 virtual void Observe(int type, | 114 virtual void Observe(int type, |
113 const content::NotificationSource& source, | 115 const content::NotificationSource& source, |
114 const content::NotificationDetails& details) OVERRIDE; | 116 const content::NotificationDetails& details) OVERRIDE; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 | 193 |
192 #if defined(ENABLE_AUTOMATION) | 194 #if defined(ENABLE_AUTOMATION) |
193 scoped_ptr<AutomationProviderList> automation_provider_list_; | 195 scoped_ptr<AutomationProviderList> automation_provider_list_; |
194 #endif | 196 #endif |
195 | 197 |
196 scoped_ptr<GoogleURLTracker> google_url_tracker_; | 198 scoped_ptr<GoogleURLTracker> google_url_tracker_; |
197 scoped_ptr<IntranetRedirectDetector> intranet_redirect_detector_; | 199 scoped_ptr<IntranetRedirectDetector> intranet_redirect_detector_; |
198 | 200 |
199 scoped_ptr<TabCloseableStateWatcher> tab_closeable_state_watcher_; | 201 scoped_ptr<TabCloseableStateWatcher> tab_closeable_state_watcher_; |
200 | 202 |
| 203 scoped_ptr<MediaStreamCaptureIndicator> media_stream_capture_indicator_; |
| 204 |
201 scoped_ptr<StatusTray> status_tray_; | 205 scoped_ptr<StatusTray> status_tray_; |
202 | 206 |
203 scoped_ptr<BackgroundModeManager> background_mode_manager_; | 207 scoped_ptr<BackgroundModeManager> background_mode_manager_; |
204 | 208 |
205 bool created_safe_browsing_service_; | 209 bool created_safe_browsing_service_; |
206 scoped_refptr<SafeBrowsingService> safe_browsing_service_; | 210 scoped_refptr<SafeBrowsingService> safe_browsing_service_; |
207 | 211 |
208 unsigned int module_ref_count_; | 212 unsigned int module_ref_count_; |
209 bool did_start_; | 213 bool did_start_; |
210 | 214 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 #endif | 269 #endif |
266 | 270 |
267 // TODO(eroman): Remove this when done debugging 113031. This tracks | 271 // TODO(eroman): Remove this when done debugging 113031. This tracks |
268 // the callstack which released the final module reference count. | 272 // the callstack which released the final module reference count. |
269 base::debug::StackTrace release_last_reference_callstack_; | 273 base::debug::StackTrace release_last_reference_callstack_; |
270 | 274 |
271 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 275 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
272 }; | 276 }; |
273 | 277 |
274 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 278 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
OLD | NEW |