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

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

Issue 662783002: Cleanup: Only include background_mode_manager.h when ENABLE_BACKGROUND is defined. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: Created 6 years, 2 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
OLDNEW
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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 #endif 215 #endif
216 216
217 // Manager for desktop notification UI. 217 // Manager for desktop notification UI.
218 bool created_notification_ui_manager_; 218 bool created_notification_ui_manager_;
219 scoped_ptr<NotificationUIManager> notification_ui_manager_; 219 scoped_ptr<NotificationUIManager> notification_ui_manager_;
220 220
221 scoped_ptr<IntranetRedirectDetector> intranet_redirect_detector_; 221 scoped_ptr<IntranetRedirectDetector> intranet_redirect_detector_;
222 222
223 scoped_ptr<StatusTray> status_tray_; 223 scoped_ptr<StatusTray> status_tray_;
224 224
225 #if defined(ENABLE_BACKGROUND)
225 scoped_ptr<BackgroundModeManager> background_mode_manager_; 226 scoped_ptr<BackgroundModeManager> background_mode_manager_;
227 #endif
226 228
227 bool created_safe_browsing_service_; 229 bool created_safe_browsing_service_;
228 scoped_refptr<SafeBrowsingService> safe_browsing_service_; 230 scoped_refptr<SafeBrowsingService> safe_browsing_service_;
229 231
230 unsigned int module_ref_count_; 232 unsigned int module_ref_count_;
231 bool did_start_; 233 bool did_start_;
232 234
233 // Ensures that all the print jobs are finished before closing the browser. 235 // Ensures that all the print jobs are finished before closing the browser.
234 scoped_ptr<printing::PrintJobManager> print_job_manager_; 236 scoped_ptr<printing::PrintJobManager> print_job_manager_;
235 237
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 scoped_ptr<gcm::GCMDriver> gcm_driver_; 304 scoped_ptr<gcm::GCMDriver> gcm_driver_;
303 305
304 #if !defined(OS_ANDROID) 306 #if !defined(OS_ANDROID)
305 scoped_ptr<ChromeDeviceClient> device_client_; 307 scoped_ptr<ChromeDeviceClient> device_client_;
306 #endif 308 #endif
307 309
308 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 310 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
309 }; 311 };
310 312
311 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 313 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.cc » ('j') | chrome/browser/browser_process_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698