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> |
| 14 |
13 #include <string> | 15 #include <string> |
14 | 16 |
15 #include "base/basictypes.h" | |
16 #include "base/debug/stack_trace.h" | 17 #include "base/debug/stack_trace.h" |
| 18 #include "base/macros.h" |
17 #include "base/memory/ref_counted.h" | 19 #include "base/memory/ref_counted.h" |
18 #include "base/memory/scoped_ptr.h" | 20 #include "base/memory/scoped_ptr.h" |
19 #include "base/prefs/pref_change_registrar.h" | 21 #include "base/prefs/pref_change_registrar.h" |
20 #include "base/threading/non_thread_safe.h" | 22 #include "base/threading/non_thread_safe.h" |
21 #include "base/timer/timer.h" | 23 #include "base/timer/timer.h" |
| 24 #include "build/build_config.h" |
22 #include "chrome/browser/browser_process.h" | 25 #include "chrome/browser/browser_process.h" |
23 | 26 |
24 class ChromeChildProcessWatcher; | 27 class ChromeChildProcessWatcher; |
25 class ChromeDeviceClient; | 28 class ChromeDeviceClient; |
26 class ChromeResourceDispatcherHostDelegate; | 29 class ChromeResourceDispatcherHostDelegate; |
27 class RemoteDebuggingServer; | 30 class RemoteDebuggingServer; |
28 class PrefRegistrySimple; | 31 class PrefRegistrySimple; |
29 | 32 |
30 #if defined(ENABLE_PLUGIN_INSTALLATION) | 33 #if defined(ENABLE_PLUGIN_INSTALLATION) |
31 class PluginsResourceService; | 34 class PluginsResourceService; |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 NotificationUIManager* notification_ui_manager() override; | 105 NotificationUIManager* notification_ui_manager() override; |
103 message_center::MessageCenter* message_center() override; | 106 message_center::MessageCenter* message_center() override; |
104 policy::BrowserPolicyConnector* browser_policy_connector() override; | 107 policy::BrowserPolicyConnector* browser_policy_connector() override; |
105 policy::PolicyService* policy_service() override; | 108 policy::PolicyService* policy_service() override; |
106 IconManager* icon_manager() override; | 109 IconManager* icon_manager() override; |
107 GLStringManager* gl_string_manager() override; | 110 GLStringManager* gl_string_manager() override; |
108 GpuModeManager* gpu_mode_manager() override; | 111 GpuModeManager* gpu_mode_manager() override; |
109 void CreateDevToolsHttpProtocolHandler( | 112 void CreateDevToolsHttpProtocolHandler( |
110 chrome::HostDesktopType host_desktop_type, | 113 chrome::HostDesktopType host_desktop_type, |
111 const std::string& ip, | 114 const std::string& ip, |
112 uint16 port) override; | 115 uint16_t port) override; |
113 unsigned int AddRefModule() override; | 116 unsigned int AddRefModule() override; |
114 unsigned int ReleaseModule() override; | 117 unsigned int ReleaseModule() override; |
115 bool IsShuttingDown() override; | 118 bool IsShuttingDown() override; |
116 printing::PrintJobManager* print_job_manager() override; | 119 printing::PrintJobManager* print_job_manager() override; |
117 printing::PrintPreviewDialogController* print_preview_dialog_controller() | 120 printing::PrintPreviewDialogController* print_preview_dialog_controller() |
118 override; | 121 override; |
119 printing::BackgroundPrintingManager* background_printing_manager() override; | 122 printing::BackgroundPrintingManager* background_printing_manager() override; |
120 IntranetRedirectDetector* intranet_redirect_detector() override; | 123 IntranetRedirectDetector* intranet_redirect_detector() override; |
121 const std::string& GetApplicationLocale() override; | 124 const std::string& GetApplicationLocale() override; |
122 void SetApplicationLocale(const std::string& locale) override; | 125 void SetApplicationLocale(const std::string& locale) override; |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 // chrome/browser/memory/tab_manager_browsertest.cc | 331 // chrome/browser/memory/tab_manager_browsertest.cc |
329 scoped_ptr<memory::TabManager> tab_manager_; | 332 scoped_ptr<memory::TabManager> tab_manager_; |
330 #endif | 333 #endif |
331 | 334 |
332 ShellIntegration::DefaultWebClientState cached_default_web_client_state_; | 335 ShellIntegration::DefaultWebClientState cached_default_web_client_state_; |
333 | 336 |
334 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 337 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
335 }; | 338 }; |
336 | 339 |
337 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 340 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
OLD | NEW |