| 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 <string> | 13 #include <string> |
| 14 | 14 |
| 15 #include "base/basictypes.h" | 15 #include "base/basictypes.h" |
| 16 #include "chrome/browser/ui/host_desktop.h" |
| 16 | 17 |
| 17 class AutomationProviderList; | 18 class AutomationProviderList; |
| 18 class BackgroundModeManager; | 19 class BackgroundModeManager; |
| 19 class BookmarkPromptController; | 20 class BookmarkPromptController; |
| 20 class ChromeNetLog; | 21 class ChromeNetLog; |
| 21 class CommandLine; | 22 class CommandLine; |
| 22 class CRLSetFetcher; | 23 class CRLSetFetcher; |
| 23 class ComponentUpdateService; | 24 class ComponentUpdateService; |
| 24 class DownloadRequestLimiter; | 25 class DownloadRequestLimiter; |
| 25 class DownloadStatusUpdater; | 26 class DownloadStatusUpdater; |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 virtual IconManager* icon_manager() = 0; | 148 virtual IconManager* icon_manager() = 0; |
| 148 | 149 |
| 149 virtual GLStringManager* gl_string_manager() = 0; | 150 virtual GLStringManager* gl_string_manager() = 0; |
| 150 | 151 |
| 151 virtual RenderWidgetSnapshotTaker* GetRenderWidgetSnapshotTaker() = 0; | 152 virtual RenderWidgetSnapshotTaker* GetRenderWidgetSnapshotTaker() = 0; |
| 152 | 153 |
| 153 virtual AutomationProviderList* GetAutomationProviderList() = 0; | 154 virtual AutomationProviderList* GetAutomationProviderList() = 0; |
| 154 | 155 |
| 155 virtual void CreateDevToolsHttpProtocolHandler( | 156 virtual void CreateDevToolsHttpProtocolHandler( |
| 156 Profile* profile, | 157 Profile* profile, |
| 158 chrome::HostDesktopType host_desktop_type, |
| 157 const std::string& ip, | 159 const std::string& ip, |
| 158 int port, | 160 int port, |
| 159 const std::string& frontend_url) = 0; | 161 const std::string& frontend_url) = 0; |
| 160 | 162 |
| 161 virtual unsigned int AddRefModule() = 0; | 163 virtual unsigned int AddRefModule() = 0; |
| 162 virtual unsigned int ReleaseModule() = 0; | 164 virtual unsigned int ReleaseModule() = 0; |
| 163 | 165 |
| 164 virtual bool IsShuttingDown() = 0; | 166 virtual bool IsShuttingDown() = 0; |
| 165 | 167 |
| 166 virtual printing::PrintJobManager* print_job_manager() = 0; | 168 virtual printing::PrintJobManager* print_job_manager() = 0; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 virtual void PlatformSpecificCommandLineProcessing( | 222 virtual void PlatformSpecificCommandLineProcessing( |
| 221 const CommandLine& command_line) = 0; | 223 const CommandLine& command_line) = 0; |
| 222 | 224 |
| 223 private: | 225 private: |
| 224 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 226 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
| 225 }; | 227 }; |
| 226 | 228 |
| 227 extern BrowserProcess* g_browser_process; | 229 extern BrowserProcess* g_browser_process; |
| 228 | 230 |
| 229 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 231 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
| OLD | NEW |