| 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 // This is the main interface for chromium components to retrieve policy | 174 // This is the main interface for chromium components to retrieve policy |
| 175 // information from the policy system. | 175 // information from the policy system. |
| 176 virtual policy::PolicyService* policy_service() = 0; | 176 virtual policy::PolicyService* policy_service() = 0; |
| 177 | 177 |
| 178 virtual IconManager* icon_manager() = 0; | 178 virtual IconManager* icon_manager() = 0; |
| 179 | 179 |
| 180 virtual GLStringManager* gl_string_manager() = 0; | 180 virtual GLStringManager* gl_string_manager() = 0; |
| 181 | 181 |
| 182 virtual GpuModeManager* gpu_mode_manager() = 0; | 182 virtual GpuModeManager* gpu_mode_manager() = 0; |
| 183 | 183 |
| 184 // Create and bind remote debugging server to a given |ip| and |port|. |
| 185 // Passing empty |ip| results in binding to localhost: |
| 186 // 127.0.0.1 or ::1 depending on the environment. |
| 184 virtual void CreateDevToolsHttpProtocolHandler(const std::string& ip, | 187 virtual void CreateDevToolsHttpProtocolHandler(const std::string& ip, |
| 185 uint16_t port) = 0; | 188 uint16_t port) = 0; |
| 186 virtual void CreateDevToolsAutoOpener() = 0; | 189 virtual void CreateDevToolsAutoOpener() = 0; |
| 187 | 190 |
| 188 virtual bool IsShuttingDown() = 0; | 191 virtual bool IsShuttingDown() = 0; |
| 189 | 192 |
| 190 virtual printing::PrintJobManager* print_job_manager() = 0; | 193 virtual printing::PrintJobManager* print_job_manager() = 0; |
| 191 virtual printing::PrintPreviewDialogController* | 194 virtual printing::PrintPreviewDialogController* |
| 192 print_preview_dialog_controller() = 0; | 195 print_preview_dialog_controller() = 0; |
| 193 virtual printing::BackgroundPrintingManager* | 196 virtual printing::BackgroundPrintingManager* |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 virtual shell_integration::DefaultWebClientState | 267 virtual shell_integration::DefaultWebClientState |
| 265 CachedDefaultWebClientState() = 0; | 268 CachedDefaultWebClientState() = 0; |
| 266 | 269 |
| 267 private: | 270 private: |
| 268 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 271 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
| 269 }; | 272 }; |
| 270 | 273 |
| 271 extern BrowserProcess* g_browser_process; | 274 extern BrowserProcess* g_browser_process; |
| 272 | 275 |
| 273 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 276 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
| OLD | NEW |