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_ |
11 #define CHROME_BROWSER_BROWSER_PROCESS_H_ | 11 #define CHROME_BROWSER_BROWSER_PROCESS_H_ |
12 | 12 |
| 13 #include <stdint.h> |
| 14 |
13 #include <string> | 15 #include <string> |
14 | 16 |
15 #include "base/basictypes.h" | 17 #include "base/macros.h" |
16 #include "base/memory/scoped_ptr.h" | 18 #include "base/memory/scoped_ptr.h" |
| 19 #include "build/build_config.h" |
17 #include "chrome/browser/browser_process_platform_part.h" | 20 #include "chrome/browser/browser_process_platform_part.h" |
18 #include "chrome/browser/shell_integration.h" | 21 #include "chrome/browser/shell_integration.h" |
19 #include "chrome/browser/ui/host_desktop.h" | 22 #include "chrome/browser/ui/host_desktop.h" |
20 | 23 |
21 class BackgroundModeManager; | 24 class BackgroundModeManager; |
22 class CRLSetFetcher; | 25 class CRLSetFetcher; |
23 class DownloadRequestLimiter; | 26 class DownloadRequestLimiter; |
24 class DownloadStatusUpdater; | 27 class DownloadStatusUpdater; |
25 class GLStringManager; | 28 class GLStringManager; |
26 class GpuModeManager; | 29 class GpuModeManager; |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 | 178 |
176 virtual IconManager* icon_manager() = 0; | 179 virtual IconManager* icon_manager() = 0; |
177 | 180 |
178 virtual GLStringManager* gl_string_manager() = 0; | 181 virtual GLStringManager* gl_string_manager() = 0; |
179 | 182 |
180 virtual GpuModeManager* gpu_mode_manager() = 0; | 183 virtual GpuModeManager* gpu_mode_manager() = 0; |
181 | 184 |
182 virtual void CreateDevToolsHttpProtocolHandler( | 185 virtual void CreateDevToolsHttpProtocolHandler( |
183 chrome::HostDesktopType host_desktop_type, | 186 chrome::HostDesktopType host_desktop_type, |
184 const std::string& ip, | 187 const std::string& ip, |
185 uint16 port) = 0; | 188 uint16_t port) = 0; |
186 | 189 |
187 virtual unsigned int AddRefModule() = 0; | 190 virtual unsigned int AddRefModule() = 0; |
188 virtual unsigned int ReleaseModule() = 0; | 191 virtual unsigned int ReleaseModule() = 0; |
189 | 192 |
190 virtual bool IsShuttingDown() = 0; | 193 virtual bool IsShuttingDown() = 0; |
191 | 194 |
192 virtual printing::PrintJobManager* print_job_manager() = 0; | 195 virtual printing::PrintJobManager* print_job_manager() = 0; |
193 virtual printing::PrintPreviewDialogController* | 196 virtual printing::PrintPreviewDialogController* |
194 print_preview_dialog_controller() = 0; | 197 print_preview_dialog_controller() = 0; |
195 virtual printing::BackgroundPrintingManager* | 198 virtual printing::BackgroundPrintingManager* |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 virtual ShellIntegration::DefaultWebClientState | 269 virtual ShellIntegration::DefaultWebClientState |
267 CachedDefaultWebClientState() = 0; | 270 CachedDefaultWebClientState() = 0; |
268 | 271 |
269 private: | 272 private: |
270 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 273 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
271 }; | 274 }; |
272 | 275 |
273 extern BrowserProcess* g_browser_process; | 276 extern BrowserProcess* g_browser_process; |
274 | 277 |
275 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 278 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
OLD | NEW |