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

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

Issue 2458833005: Move printing defines to buildflag system. (Closed)
Patch Set: Merge Created 4 years, 1 month 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
« no previous file with comments | « chrome/browser/apps/app_browsertest.cc ('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) 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_
11 #define CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 11 #define CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
12 12
13 #include <stdint.h> 13 #include <stdint.h>
14 14
15 #include <memory> 15 #include <memory>
16 #include <string> 16 #include <string>
17 17
18 #include "base/debug/stack_trace.h" 18 #include "base/debug/stack_trace.h"
19 #include "base/macros.h" 19 #include "base/macros.h"
20 #include "base/memory/ref_counted.h" 20 #include "base/memory/ref_counted.h"
21 #include "base/threading/non_thread_safe.h" 21 #include "base/threading/non_thread_safe.h"
22 #include "base/timer/timer.h" 22 #include "base/timer/timer.h"
23 #include "build/build_config.h" 23 #include "build/build_config.h"
24 #include "chrome/browser/browser_process.h" 24 #include "chrome/browser/browser_process.h"
25 #include "chrome/browser/lifetime/keep_alive_state_observer.h" 25 #include "chrome/browser/lifetime/keep_alive_state_observer.h"
26 #include "chrome/common/features.h" 26 #include "chrome/common/features.h"
27 #include "components/prefs/pref_change_registrar.h" 27 #include "components/prefs/pref_change_registrar.h"
28 #include "printing/features/features.h"
28 29
29 class ChromeChildProcessWatcher; 30 class ChromeChildProcessWatcher;
30 class ChromeDeviceClient; 31 class ChromeDeviceClient;
31 class ChromeResourceDispatcherHostDelegate; 32 class ChromeResourceDispatcherHostDelegate;
32 class DevToolsAutoOpener; 33 class DevToolsAutoOpener;
33 class RemoteDebuggingServer; 34 class RemoteDebuggingServer;
34 class PrefRegistrySimple; 35 class PrefRegistrySimple;
35 36
36 #if BUILDFLAG(ENABLE_PLUGIN_INSTALLATION) 37 #if BUILDFLAG(ENABLE_PLUGIN_INSTALLATION)
37 class PluginsResourceService; 38 class PluginsResourceService;
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 extension_event_router_forwarder_; 226 extension_event_router_forwarder_;
226 227
227 std::unique_ptr<MediaFileSystemRegistry> media_file_system_registry_; 228 std::unique_ptr<MediaFileSystemRegistry> media_file_system_registry_;
228 #endif 229 #endif
229 230
230 #if !defined(OS_ANDROID) 231 #if !defined(OS_ANDROID)
231 std::unique_ptr<RemoteDebuggingServer> remote_debugging_server_; 232 std::unique_ptr<RemoteDebuggingServer> remote_debugging_server_;
232 std::unique_ptr<DevToolsAutoOpener> devtools_auto_opener_; 233 std::unique_ptr<DevToolsAutoOpener> devtools_auto_opener_;
233 #endif 234 #endif
234 235
235 #if defined(ENABLE_PRINT_PREVIEW) 236 #if BUILDFLAG(ENABLE_PRINT_PREVIEW)
236 scoped_refptr<printing::PrintPreviewDialogController> 237 scoped_refptr<printing::PrintPreviewDialogController>
237 print_preview_dialog_controller_; 238 print_preview_dialog_controller_;
238 239
239 std::unique_ptr<printing::BackgroundPrintingManager> 240 std::unique_ptr<printing::BackgroundPrintingManager>
240 background_printing_manager_; 241 background_printing_manager_;
241 #endif 242 #endif
242 243
243 // Manager for desktop notification UI. 244 // Manager for desktop notification UI.
244 bool created_notification_ui_manager_; 245 bool created_notification_ui_manager_;
245 std::unique_ptr<NotificationUIManager> notification_ui_manager_; 246 std::unique_ptr<NotificationUIManager> notification_ui_manager_;
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 #endif 346 #endif
346 347
347 shell_integration::DefaultWebClientState cached_default_web_client_state_; 348 shell_integration::DefaultWebClientState cached_default_web_client_state_;
348 349
349 std::unique_ptr<PhysicalWebDataSource> physical_web_data_source_; 350 std::unique_ptr<PhysicalWebDataSource> physical_web_data_source_;
350 351
351 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 352 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
352 }; 353 };
353 354
354 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 355 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/apps/app_browsertest.cc ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698