| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 | 116 |
| 117 virtual policy::ConfigurationPolicyProviderKeeper* | 117 virtual policy::ConfigurationPolicyProviderKeeper* |
| 118 configuration_policy_provider_keeper() = 0; | 118 configuration_policy_provider_keeper() = 0; |
| 119 | 119 |
| 120 virtual IconManager* icon_manager() = 0; | 120 virtual IconManager* icon_manager() = 0; |
| 121 | 121 |
| 122 virtual ThumbnailGenerator* GetThumbnailGenerator() = 0; | 122 virtual ThumbnailGenerator* GetThumbnailGenerator() = 0; |
| 123 | 123 |
| 124 virtual AutomationProviderList* InitAutomationProviderList() = 0; | 124 virtual AutomationProviderList* InitAutomationProviderList() = 0; |
| 125 | 125 |
| 126 virtual void InitDebuggerWrapper(int port, bool useHttp) = 0; | 126 virtual void InitDevToolsHttpProtocolHandler( |
| 127 int port, |
| 128 const std::string& frontend_url) = 0; |
| 129 |
| 130 virtual void InitDevToolsLegacyProtocolHandler(int port) = 0; |
| 127 | 131 |
| 128 virtual unsigned int AddRefModule() = 0; | 132 virtual unsigned int AddRefModule() = 0; |
| 129 virtual unsigned int ReleaseModule() = 0; | 133 virtual unsigned int ReleaseModule() = 0; |
| 130 | 134 |
| 131 virtual bool IsShuttingDown() = 0; | 135 virtual bool IsShuttingDown() = 0; |
| 132 | 136 |
| 133 virtual printing::PrintJobManager* print_job_manager() = 0; | 137 virtual printing::PrintJobManager* print_job_manager() = 0; |
| 134 virtual printing::PrintPreviewTabController* | 138 virtual printing::PrintPreviewTabController* |
| 135 print_preview_tab_controller() = 0; | 139 print_preview_tab_controller() = 0; |
| 136 | 140 |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 | 205 |
| 202 // Used for testing plugin data removal at shutdown. | 206 // Used for testing plugin data removal at shutdown. |
| 203 std::string plugin_data_remover_mime_type_; | 207 std::string plugin_data_remover_mime_type_; |
| 204 | 208 |
| 205 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 209 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
| 206 }; | 210 }; |
| 207 | 211 |
| 208 extern BrowserProcess* g_browser_process; | 212 extern BrowserProcess* g_browser_process; |
| 209 | 213 |
| 210 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 214 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
| OLD | NEW |