| 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 // This interface is for managing the global services of the application. Each | 5 // This interface is for managing the global services of the application. Each |
| 6 // service is lazily created when requested the first time. The service getters | 6 // service is lazily created when requested the first time. The service getters |
| 7 // will return NULL if the service is not available, so callers must check for | 7 // will return NULL if the service is not available, so callers must check for |
| 8 // this condition. | 8 // this condition. |
| 9 | 9 |
| 10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_H_ | 10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_H_ |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 // information from the policy system. | 163 // information from the policy system. |
| 164 virtual policy::PolicyService* policy_service() = 0; | 164 virtual policy::PolicyService* policy_service() = 0; |
| 165 | 165 |
| 166 virtual IconManager* icon_manager() = 0; | 166 virtual IconManager* icon_manager() = 0; |
| 167 | 167 |
| 168 virtual GLStringManager* gl_string_manager() = 0; | 168 virtual GLStringManager* gl_string_manager() = 0; |
| 169 | 169 |
| 170 virtual GpuModeManager* gpu_mode_manager() = 0; | 170 virtual GpuModeManager* gpu_mode_manager() = 0; |
| 171 | 171 |
| 172 virtual void CreateDevToolsHttpProtocolHandler( | 172 virtual void CreateDevToolsHttpProtocolHandler( |
| 173 chrome::HostDesktopType host_desktop_type, | 173 ui::HostDesktopType host_desktop_type, |
| 174 const std::string& ip, | 174 const std::string& ip, |
| 175 uint16 port) = 0; | 175 uint16 port) = 0; |
| 176 | 176 |
| 177 virtual unsigned int AddRefModule() = 0; | 177 virtual unsigned int AddRefModule() = 0; |
| 178 virtual unsigned int ReleaseModule() = 0; | 178 virtual unsigned int ReleaseModule() = 0; |
| 179 | 179 |
| 180 virtual bool IsShuttingDown() = 0; | 180 virtual bool IsShuttingDown() = 0; |
| 181 | 181 |
| 182 virtual printing::PrintJobManager* print_job_manager() = 0; | 182 virtual printing::PrintJobManager* print_job_manager() = 0; |
| 183 virtual printing::PrintPreviewDialogController* | 183 virtual printing::PrintPreviewDialogController* |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 virtual ShellIntegration::DefaultWebClientState | 256 virtual ShellIntegration::DefaultWebClientState |
| 257 CachedDefaultWebClientState() = 0; | 257 CachedDefaultWebClientState() = 0; |
| 258 | 258 |
| 259 private: | 259 private: |
| 260 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 260 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
| 261 }; | 261 }; |
| 262 | 262 |
| 263 extern BrowserProcess* g_browser_process; | 263 extern BrowserProcess* g_browser_process; |
| 264 | 264 |
| 265 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 265 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
| OLD | NEW |