| 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 <string> | 15 #include <string> |
| 16 | 16 |
| 17 #include "base/debug/stack_trace.h" | 17 #include "base/debug/stack_trace.h" |
| 18 #include "base/macros.h" | 18 #include "base/macros.h" |
| 19 #include "base/memory/ref_counted.h" | 19 #include "base/memory/ref_counted.h" |
| 20 #include "base/memory/scoped_ptr.h" | 20 #include "base/memory/scoped_ptr.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 "components/prefs/pref_change_registrar.h" | 25 #include "components/prefs/pref_change_registrar.h" |
| 26 | 26 |
| 27 class ChromeChildProcessWatcher; | 27 class ChromeChildProcessWatcher; |
| 28 class ChromeDeviceClient; | 28 class ChromeDeviceClient; |
| 29 class ChromeResourceDispatcherHostDelegate; | 29 class ChromeResourceDispatcherHostDelegate; |
| 30 class DevToolsAutoOpener; |
| 30 class RemoteDebuggingServer; | 31 class RemoteDebuggingServer; |
| 31 class PrefRegistrySimple; | 32 class PrefRegistrySimple; |
| 32 | 33 |
| 33 #if defined(ENABLE_PLUGIN_INSTALLATION) | 34 #if defined(ENABLE_PLUGIN_INSTALLATION) |
| 34 class PluginsResourceService; | 35 class PluginsResourceService; |
| 35 #endif | 36 #endif |
| 36 | 37 |
| 37 namespace base { | 38 namespace base { |
| 38 class CommandLine; | 39 class CommandLine; |
| 39 class SequencedTaskRunner; | 40 class SequencedTaskRunner; |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 extensions::EventRouterForwarder* extension_event_router_forwarder() override; | 105 extensions::EventRouterForwarder* extension_event_router_forwarder() override; |
| 105 NotificationUIManager* notification_ui_manager() override; | 106 NotificationUIManager* notification_ui_manager() override; |
| 106 message_center::MessageCenter* message_center() override; | 107 message_center::MessageCenter* message_center() override; |
| 107 policy::BrowserPolicyConnector* browser_policy_connector() override; | 108 policy::BrowserPolicyConnector* browser_policy_connector() override; |
| 108 policy::PolicyService* policy_service() override; | 109 policy::PolicyService* policy_service() override; |
| 109 IconManager* icon_manager() override; | 110 IconManager* icon_manager() override; |
| 110 GLStringManager* gl_string_manager() override; | 111 GLStringManager* gl_string_manager() override; |
| 111 GpuModeManager* gpu_mode_manager() override; | 112 GpuModeManager* gpu_mode_manager() override; |
| 112 void CreateDevToolsHttpProtocolHandler(const std::string& ip, | 113 void CreateDevToolsHttpProtocolHandler(const std::string& ip, |
| 113 uint16_t port) override; | 114 uint16_t port) override; |
| 115 void CreateDevToolsAutoOpener() override; |
| 114 unsigned int AddRefModule() override; | 116 unsigned int AddRefModule() override; |
| 115 unsigned int ReleaseModule() override; | 117 unsigned int ReleaseModule() override; |
| 116 bool IsShuttingDown() override; | 118 bool IsShuttingDown() override; |
| 117 printing::PrintJobManager* print_job_manager() override; | 119 printing::PrintJobManager* print_job_manager() override; |
| 118 printing::PrintPreviewDialogController* print_preview_dialog_controller() | 120 printing::PrintPreviewDialogController* print_preview_dialog_controller() |
| 119 override; | 121 override; |
| 120 printing::BackgroundPrintingManager* background_printing_manager() override; | 122 printing::BackgroundPrintingManager* background_printing_manager() override; |
| 121 IntranetRedirectDetector* intranet_redirect_detector() override; | 123 IntranetRedirectDetector* intranet_redirect_detector() override; |
| 122 const std::string& GetApplicationLocale() override; | 124 const std::string& GetApplicationLocale() override; |
| 123 void SetApplicationLocale(const std::string& locale) override; | 125 void SetApplicationLocale(const std::string& locale) override; |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 scoped_ptr<extensions::ExtensionsBrowserClient> extensions_browser_client_; | 216 scoped_ptr<extensions::ExtensionsBrowserClient> extensions_browser_client_; |
| 215 | 217 |
| 216 scoped_refptr<extensions::EventRouterForwarder> | 218 scoped_refptr<extensions::EventRouterForwarder> |
| 217 extension_event_router_forwarder_; | 219 extension_event_router_forwarder_; |
| 218 | 220 |
| 219 scoped_ptr<MediaFileSystemRegistry> media_file_system_registry_; | 221 scoped_ptr<MediaFileSystemRegistry> media_file_system_registry_; |
| 220 #endif | 222 #endif |
| 221 | 223 |
| 222 #if !defined(OS_ANDROID) | 224 #if !defined(OS_ANDROID) |
| 223 scoped_ptr<RemoteDebuggingServer> remote_debugging_server_; | 225 scoped_ptr<RemoteDebuggingServer> remote_debugging_server_; |
| 226 scoped_ptr<DevToolsAutoOpener> devtools_auto_opener_; |
| 224 #endif | 227 #endif |
| 225 | 228 |
| 226 #if defined(ENABLE_PRINT_PREVIEW) | 229 #if defined(ENABLE_PRINT_PREVIEW) |
| 227 scoped_refptr<printing::PrintPreviewDialogController> | 230 scoped_refptr<printing::PrintPreviewDialogController> |
| 228 print_preview_dialog_controller_; | 231 print_preview_dialog_controller_; |
| 229 | 232 |
| 230 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_; | 233 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_; |
| 231 #endif | 234 #endif |
| 232 | 235 |
| 233 // Manager for desktop notification UI. | 236 // Manager for desktop notification UI. |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 // chrome/browser/memory/tab_manager_browsertest.cc | 332 // chrome/browser/memory/tab_manager_browsertest.cc |
| 330 scoped_ptr<memory::TabManager> tab_manager_; | 333 scoped_ptr<memory::TabManager> tab_manager_; |
| 331 #endif | 334 #endif |
| 332 | 335 |
| 333 shell_integration::DefaultWebClientState cached_default_web_client_state_; | 336 shell_integration::DefaultWebClientState cached_default_web_client_state_; |
| 334 | 337 |
| 335 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 338 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
| 336 }; | 339 }; |
| 337 | 340 |
| 338 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 341 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
| OLD | NEW |