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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(const std::string& ip, | 185 virtual void CreateDevToolsHttpProtocolHandler(const std::string& ip, |
186 uint16_t port) = 0; | 186 uint16_t port) = 0; |
187 virtual void CreateDevToolsAutoOpener() = 0; | 187 virtual void CreateDevToolsAutoOpener() = 0; |
188 | 188 |
189 virtual unsigned int AddRefModule() = 0; | |
190 virtual unsigned int ReleaseModule() = 0; | |
191 | |
192 virtual bool IsShuttingDown() = 0; | 189 virtual bool IsShuttingDown() = 0; |
193 | 190 |
194 virtual printing::PrintJobManager* print_job_manager() = 0; | 191 virtual printing::PrintJobManager* print_job_manager() = 0; |
195 virtual printing::PrintPreviewDialogController* | 192 virtual printing::PrintPreviewDialogController* |
196 print_preview_dialog_controller() = 0; | 193 print_preview_dialog_controller() = 0; |
197 virtual printing::BackgroundPrintingManager* | 194 virtual printing::BackgroundPrintingManager* |
198 background_printing_manager() = 0; | 195 background_printing_manager() = 0; |
199 | 196 |
200 virtual IntranetRedirectDetector* intranet_redirect_detector() = 0; | 197 virtual IntranetRedirectDetector* intranet_redirect_detector() = 0; |
201 | 198 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 virtual shell_integration::DefaultWebClientState | 265 virtual shell_integration::DefaultWebClientState |
269 CachedDefaultWebClientState() = 0; | 266 CachedDefaultWebClientState() = 0; |
270 | 267 |
271 private: | 268 private: |
272 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 269 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
273 }; | 270 }; |
274 | 271 |
275 extern BrowserProcess* g_browser_process; | 272 extern BrowserProcess* g_browser_process; |
276 | 273 |
277 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 274 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
OLD | NEW |