| 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 | 138 |
| 139 virtual GLStringManager* gl_string_manager() = 0; | 139 virtual GLStringManager* gl_string_manager() = 0; |
| 140 | 140 |
| 141 virtual GpuModeManager* gpu_mode_manager() = 0; | 141 virtual GpuModeManager* gpu_mode_manager() = 0; |
| 142 | 142 |
| 143 virtual RenderWidgetSnapshotTaker* GetRenderWidgetSnapshotTaker() = 0; | 143 virtual RenderWidgetSnapshotTaker* GetRenderWidgetSnapshotTaker() = 0; |
| 144 | 144 |
| 145 virtual AutomationProviderList* GetAutomationProviderList() = 0; | 145 virtual AutomationProviderList* GetAutomationProviderList() = 0; |
| 146 | 146 |
| 147 virtual void CreateDevToolsHttpProtocolHandler( | 147 virtual void CreateDevToolsHttpProtocolHandler( |
| 148 Profile* profile, | |
| 149 chrome::HostDesktopType host_desktop_type, | 148 chrome::HostDesktopType host_desktop_type, |
| 150 const std::string& ip, | 149 const std::string& ip, |
| 151 int port, | 150 int port, |
| 152 const std::string& frontend_url) = 0; | 151 const std::string& frontend_url) = 0; |
| 153 | 152 |
| 154 virtual unsigned int AddRefModule() = 0; | 153 virtual unsigned int AddRefModule() = 0; |
| 155 virtual unsigned int ReleaseModule() = 0; | 154 virtual unsigned int ReleaseModule() = 0; |
| 156 | 155 |
| 157 virtual bool IsShuttingDown() = 0; | 156 virtual bool IsShuttingDown() = 0; |
| 158 | 157 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 | 213 |
| 215 virtual bool created_local_state() const = 0; | 214 virtual bool created_local_state() const = 0; |
| 216 | 215 |
| 217 private: | 216 private: |
| 218 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 217 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
| 219 }; | 218 }; |
| 220 | 219 |
| 221 extern BrowserProcess* g_browser_process; | 220 extern BrowserProcess* g_browser_process; |
| 222 | 221 |
| 223 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 222 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
| OLD | NEW |