| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 namespace chromeos { | 52 namespace chromeos { |
| 53 class ProxyConfigServiceImpl; | 53 class ProxyConfigServiceImpl; |
| 54 } | 54 } |
| 55 #endif // defined(OS_CHROMEOS) | 55 #endif // defined(OS_CHROMEOS) |
| 56 | 56 |
| 57 namespace net { | 57 namespace net { |
| 58 class URLRequestContextGetter; | 58 class URLRequestContextGetter; |
| 59 } | 59 } |
| 60 | 60 |
| 61 namespace printing { | 61 namespace printing { |
| 62 class BackgroundPrintingManager; |
| 62 class PrintJobManager; | 63 class PrintJobManager; |
| 63 class PrintPreviewTabController; | 64 class PrintPreviewTabController; |
| 64 } | 65 } |
| 65 | 66 |
| 66 namespace policy { | 67 namespace policy { |
| 67 class BrowserPolicyConnector; | 68 class BrowserPolicyConnector; |
| 68 } | 69 } |
| 69 | 70 |
| 70 namespace ui { | 71 namespace ui { |
| 71 class Clipboard; | 72 class Clipboard; |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 virtual void InitDevToolsLegacyProtocolHandler(int port) = 0; | 161 virtual void InitDevToolsLegacyProtocolHandler(int port) = 0; |
| 161 | 162 |
| 162 virtual unsigned int AddRefModule() = 0; | 163 virtual unsigned int AddRefModule() = 0; |
| 163 virtual unsigned int ReleaseModule() = 0; | 164 virtual unsigned int ReleaseModule() = 0; |
| 164 | 165 |
| 165 virtual bool IsShuttingDown() = 0; | 166 virtual bool IsShuttingDown() = 0; |
| 166 | 167 |
| 167 virtual printing::PrintJobManager* print_job_manager() = 0; | 168 virtual printing::PrintJobManager* print_job_manager() = 0; |
| 168 virtual printing::PrintPreviewTabController* | 169 virtual printing::PrintPreviewTabController* |
| 169 print_preview_tab_controller() = 0; | 170 print_preview_tab_controller() = 0; |
| 171 virtual printing::BackgroundPrintingManager* |
| 172 background_printing_manager() = 0; |
| 170 | 173 |
| 171 virtual GoogleURLTracker* google_url_tracker() = 0; | 174 virtual GoogleURLTracker* google_url_tracker() = 0; |
| 172 virtual IntranetRedirectDetector* intranet_redirect_detector() = 0; | 175 virtual IntranetRedirectDetector* intranet_redirect_detector() = 0; |
| 173 | 176 |
| 174 // Returns the locale used by the application. | 177 // Returns the locale used by the application. |
| 175 virtual const std::string& GetApplicationLocale() = 0; | 178 virtual const std::string& GetApplicationLocale() = 0; |
| 176 virtual void SetApplicationLocale(const std::string& locale) = 0; | 179 virtual void SetApplicationLocale(const std::string& locale) = 0; |
| 177 | 180 |
| 178 DownloadRequestLimiter* download_request_limiter(); | 181 DownloadRequestLimiter* download_request_limiter(); |
| 179 virtual DownloadStatusUpdater* download_status_updater() = 0; | 182 virtual DownloadStatusUpdater* download_status_updater() = 0; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 | 235 |
| 233 // Used for testing plugin data removal at shutdown. | 236 // Used for testing plugin data removal at shutdown. |
| 234 std::string plugin_data_remover_mime_type_; | 237 std::string plugin_data_remover_mime_type_; |
| 235 | 238 |
| 236 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 239 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
| 237 }; | 240 }; |
| 238 | 241 |
| 239 extern BrowserProcess* g_browser_process; | 242 extern BrowserProcess* g_browser_process; |
| 240 | 243 |
| 241 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 244 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
| OLD | NEW |