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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 // This is the main interface for chromium components to retrieve policy | 175 // This is the main interface for chromium components to retrieve policy |
176 // information from the policy system. | 176 // information from the policy system. |
177 virtual policy::PolicyService* policy_service() = 0; | 177 virtual policy::PolicyService* policy_service() = 0; |
178 | 178 |
179 virtual IconManager* icon_manager() = 0; | 179 virtual IconManager* icon_manager() = 0; |
180 | 180 |
181 virtual GLStringManager* gl_string_manager() = 0; | 181 virtual GLStringManager* gl_string_manager() = 0; |
182 | 182 |
183 virtual GpuModeManager* gpu_mode_manager() = 0; | 183 virtual GpuModeManager* gpu_mode_manager() = 0; |
184 | 184 |
185 virtual void CreateDevToolsHttpProtocolHandler( | 185 virtual void CreateDevToolsHttpProtocolHandler(const std::string& ip, |
186 chrome::HostDesktopType host_desktop_type, | 186 uint16_t port) = 0; |
187 const std::string& ip, | |
188 uint16_t port) = 0; | |
189 | 187 |
190 virtual unsigned int AddRefModule() = 0; | 188 virtual unsigned int AddRefModule() = 0; |
191 virtual unsigned int ReleaseModule() = 0; | 189 virtual unsigned int ReleaseModule() = 0; |
192 | 190 |
193 virtual bool IsShuttingDown() = 0; | 191 virtual bool IsShuttingDown() = 0; |
194 | 192 |
195 virtual printing::PrintJobManager* print_job_manager() = 0; | 193 virtual printing::PrintJobManager* print_job_manager() = 0; |
196 virtual printing::PrintPreviewDialogController* | 194 virtual printing::PrintPreviewDialogController* |
197 print_preview_dialog_controller() = 0; | 195 print_preview_dialog_controller() = 0; |
198 virtual printing::BackgroundPrintingManager* | 196 virtual printing::BackgroundPrintingManager* |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 virtual shell_integration::DefaultWebClientState | 267 virtual shell_integration::DefaultWebClientState |
270 CachedDefaultWebClientState() = 0; | 268 CachedDefaultWebClientState() = 0; |
271 | 269 |
272 private: | 270 private: |
273 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 271 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
274 }; | 272 }; |
275 | 273 |
276 extern BrowserProcess* g_browser_process; | 274 extern BrowserProcess* g_browser_process; |
277 | 275 |
278 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 276 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
OLD | NEW |