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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 | 158 |
159 virtual IconManager* icon_manager() = 0; | 159 virtual IconManager* icon_manager() = 0; |
160 | 160 |
161 virtual GLStringManager* gl_string_manager() = 0; | 161 virtual GLStringManager* gl_string_manager() = 0; |
162 | 162 |
163 virtual GpuModeManager* gpu_mode_manager() = 0; | 163 virtual GpuModeManager* gpu_mode_manager() = 0; |
164 | 164 |
165 virtual void CreateDevToolsHttpProtocolHandler( | 165 virtual void CreateDevToolsHttpProtocolHandler( |
166 chrome::HostDesktopType host_desktop_type, | 166 chrome::HostDesktopType host_desktop_type, |
167 const std::string& ip, | 167 const std::string& ip, |
168 int port) = 0; | 168 uint16 port) = 0; |
169 | 169 |
170 virtual unsigned int AddRefModule() = 0; | 170 virtual unsigned int AddRefModule() = 0; |
171 virtual unsigned int ReleaseModule() = 0; | 171 virtual unsigned int ReleaseModule() = 0; |
172 | 172 |
173 virtual bool IsShuttingDown() = 0; | 173 virtual bool IsShuttingDown() = 0; |
174 | 174 |
175 virtual printing::PrintJobManager* print_job_manager() = 0; | 175 virtual printing::PrintJobManager* print_job_manager() = 0; |
176 virtual printing::PrintPreviewDialogController* | 176 virtual printing::PrintPreviewDialogController* |
177 print_preview_dialog_controller() = 0; | 177 print_preview_dialog_controller() = 0; |
178 virtual printing::BackgroundPrintingManager* | 178 virtual printing::BackgroundPrintingManager* |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 | 239 |
240 virtual gcm::GCMDriver* gcm_driver() = 0; | 240 virtual gcm::GCMDriver* gcm_driver() = 0; |
241 | 241 |
242 private: | 242 private: |
243 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 243 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
244 }; | 244 }; |
245 | 245 |
246 extern BrowserProcess* g_browser_process; | 246 extern BrowserProcess* g_browser_process; |
247 | 247 |
248 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 248 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
OLD | NEW |