| 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_ |
| 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 "extensions/features/features.h" |
| 28 #include "printing/features/features.h" | 29 #include "printing/features/features.h" |
| 29 | 30 |
| 30 class ChromeChildProcessWatcher; | 31 class ChromeChildProcessWatcher; |
| 31 class ChromeDeviceClient; | 32 class ChromeDeviceClient; |
| 32 class ChromeResourceDispatcherHostDelegate; | 33 class ChromeResourceDispatcherHostDelegate; |
| 33 class DevToolsAutoOpener; | 34 class DevToolsAutoOpener; |
| 34 class RemoteDebuggingServer; | 35 class RemoteDebuggingServer; |
| 35 class PrefRegistrySimple; | 36 class PrefRegistrySimple; |
| 36 | 37 |
| 37 #if BUILDFLAG(ENABLE_PLUGIN_INSTALLATION) | 38 #if BUILDFLAG(ENABLE_PLUGIN_INSTALLATION) |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 bool created_local_state_; | 212 bool created_local_state_; |
| 212 std::unique_ptr<PrefService> local_state_; | 213 std::unique_ptr<PrefService> local_state_; |
| 213 | 214 |
| 214 bool created_icon_manager_; | 215 bool created_icon_manager_; |
| 215 std::unique_ptr<IconManager> icon_manager_; | 216 std::unique_ptr<IconManager> icon_manager_; |
| 216 | 217 |
| 217 std::unique_ptr<GpuProfileCache> gpu_profile_cache_; | 218 std::unique_ptr<GpuProfileCache> gpu_profile_cache_; |
| 218 | 219 |
| 219 std::unique_ptr<GpuModeManager> gpu_mode_manager_; | 220 std::unique_ptr<GpuModeManager> gpu_mode_manager_; |
| 220 | 221 |
| 221 #if defined(ENABLE_EXTENSIONS) | 222 #if BUILDFLAG(ENABLE_EXTENSIONS) |
| 222 std::unique_ptr<extensions::ExtensionsBrowserClient> | 223 std::unique_ptr<extensions::ExtensionsBrowserClient> |
| 223 extensions_browser_client_; | 224 extensions_browser_client_; |
| 224 | 225 |
| 225 scoped_refptr<extensions::EventRouterForwarder> | 226 scoped_refptr<extensions::EventRouterForwarder> |
| 226 extension_event_router_forwarder_; | 227 extension_event_router_forwarder_; |
| 227 | 228 |
| 228 std::unique_ptr<MediaFileSystemRegistry> media_file_system_registry_; | 229 std::unique_ptr<MediaFileSystemRegistry> media_file_system_registry_; |
| 229 #endif | 230 #endif |
| 230 | 231 |
| 231 #if !defined(OS_ANDROID) | 232 #if !defined(OS_ANDROID) |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 #endif | 347 #endif |
| 347 | 348 |
| 348 shell_integration::DefaultWebClientState cached_default_web_client_state_; | 349 shell_integration::DefaultWebClientState cached_default_web_client_state_; |
| 349 | 350 |
| 350 std::unique_ptr<PhysicalWebDataSource> physical_web_data_source_; | 351 std::unique_ptr<PhysicalWebDataSource> physical_web_data_source_; |
| 351 | 352 |
| 352 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 353 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
| 353 }; | 354 }; |
| 354 | 355 |
| 355 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 356 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
| OLD | NEW |