Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1776)

Side by Side Diff: chrome/browser/browser_process_impl.h

Issue 6914021: Modifying the BackgroundModeManager to handle multiple profiles. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/browser_process.h ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 virtual printing::PrintJobManager* print_job_manager(); 89 virtual printing::PrintJobManager* print_job_manager();
90 virtual printing::PrintPreviewTabController* print_preview_tab_controller(); 90 virtual printing::PrintPreviewTabController* print_preview_tab_controller();
91 virtual printing::BackgroundPrintingManager* background_printing_manager(); 91 virtual printing::BackgroundPrintingManager* background_printing_manager();
92 virtual GoogleURLTracker* google_url_tracker(); 92 virtual GoogleURLTracker* google_url_tracker();
93 virtual IntranetRedirectDetector* intranet_redirect_detector(); 93 virtual IntranetRedirectDetector* intranet_redirect_detector();
94 virtual const std::string& GetApplicationLocale(); 94 virtual const std::string& GetApplicationLocale();
95 virtual void SetApplicationLocale(const std::string& locale); 95 virtual void SetApplicationLocale(const std::string& locale);
96 virtual DownloadStatusUpdater* download_status_updater(); 96 virtual DownloadStatusUpdater* download_status_updater();
97 virtual base::WaitableEvent* shutdown_event(); 97 virtual base::WaitableEvent* shutdown_event();
98 virtual TabCloseableStateWatcher* tab_closeable_state_watcher(); 98 virtual TabCloseableStateWatcher* tab_closeable_state_watcher();
99 virtual BackgroundModeManager* background_mode_manager();
100 virtual StatusTray* status_tray();
99 virtual safe_browsing::ClientSideDetectionService* 101 virtual safe_browsing::ClientSideDetectionService*
100 safe_browsing_detection_service(); 102 safe_browsing_detection_service();
101 virtual bool plugin_finder_disabled() const; 103 virtual bool plugin_finder_disabled() const;
102 104
103 // NotificationObserver methods 105 // NotificationObserver methods
104 virtual void Observe(NotificationType type, 106 virtual void Observe(NotificationType type,
105 const NotificationSource& source, 107 const NotificationSource& source,
106 const NotificationDetails& details); 108 const NotificationDetails& details);
107 109
108 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) 110 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 void CreateDevToolsManager(); 147 void CreateDevToolsManager();
146 void CreateSidebarManager(); 148 void CreateSidebarManager();
147 void CreateGoogleURLTracker(); 149 void CreateGoogleURLTracker();
148 void CreateIntranetRedirectDetector(); 150 void CreateIntranetRedirectDetector();
149 void CreateNotificationUIManager(); 151 void CreateNotificationUIManager();
150 void CreateStatusTrayManager(); 152 void CreateStatusTrayManager();
151 void CreateTabCloseableStateWatcher(); 153 void CreateTabCloseableStateWatcher();
152 void CreatePrintPreviewTabController(); 154 void CreatePrintPreviewTabController();
153 void CreateBackgroundPrintingManager(); 155 void CreateBackgroundPrintingManager();
154 void CreateSafeBrowsingDetectionService(); 156 void CreateSafeBrowsingDetectionService();
157 void CreateStatusTray();
158 void CreateBackgroundModeManager();
155 159
156 bool IsSafeBrowsingDetectionServiceEnabled(); 160 bool IsSafeBrowsingDetectionServiceEnabled();
157 161
158 void ApplyDisabledSchemesPolicy(); 162 void ApplyDisabledSchemesPolicy();
159 163
160 #if defined(IPC_MESSAGE_LOG_ENABLED) 164 #if defined(IPC_MESSAGE_LOG_ENABLED)
161 void SetIPCLoggingEnabledForChildProcesses(bool enabled); 165 void SetIPCLoggingEnabledForChildProcesses(bool enabled);
162 #endif 166 #endif
163 167
164 bool created_resource_dispatcher_host_; 168 bool created_resource_dispatcher_host_;
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 239
236 scoped_ptr<AutomationProviderList> automation_provider_list_; 240 scoped_ptr<AutomationProviderList> automation_provider_list_;
237 241
238 scoped_ptr<GoogleURLTracker> google_url_tracker_; 242 scoped_ptr<GoogleURLTracker> google_url_tracker_;
239 scoped_ptr<IntranetRedirectDetector> intranet_redirect_detector_; 243 scoped_ptr<IntranetRedirectDetector> intranet_redirect_detector_;
240 244
241 scoped_ptr<NotificationService> main_notification_service_; 245 scoped_ptr<NotificationService> main_notification_service_;
242 246
243 scoped_ptr<TabCloseableStateWatcher> tab_closeable_state_watcher_; 247 scoped_ptr<TabCloseableStateWatcher> tab_closeable_state_watcher_;
244 248
249 scoped_ptr<BackgroundModeManager> background_mode_manager_;
250
251 scoped_ptr<StatusTray> status_tray_;
252
245 bool created_safe_browsing_detection_service_; 253 bool created_safe_browsing_detection_service_;
246 scoped_ptr<safe_browsing::ClientSideDetectionService> 254 scoped_ptr<safe_browsing::ClientSideDetectionService>
247 safe_browsing_detection_service_; 255 safe_browsing_detection_service_;
248 256
249 unsigned int module_ref_count_; 257 unsigned int module_ref_count_;
250 bool did_start_; 258 bool did_start_;
251 259
252 // Ensures that all the print jobs are finished before closing the browser. 260 // Ensures that all the print jobs are finished before closing the browser.
253 scoped_ptr<printing::PrintJobManager> print_job_manager_; 261 scoped_ptr<printing::PrintJobManager> print_job_manager_;
254 262
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 302
295 #if defined(OS_CHROMEOS) 303 #if defined(OS_CHROMEOS)
296 scoped_refptr<chromeos::ProxyConfigServiceImpl> 304 scoped_refptr<chromeos::ProxyConfigServiceImpl>
297 chromeos_proxy_config_service_impl_; 305 chromeos_proxy_config_service_impl_;
298 #endif 306 #endif
299 307
300 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 308 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
301 }; 309 };
302 310
303 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 311 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_process.h ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698