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_ |
11 #define CHROME_BROWSER_BROWSER_PROCESS_H_ | 11 #define CHROME_BROWSER_BROWSER_PROCESS_H_ |
12 #pragma once | 12 #pragma once |
13 | 13 |
14 #include <string> | 14 #include <string> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "base/basictypes.h" | 17 #include "base/basictypes.h" |
18 #include "base/memory/ref_counted.h" | 18 #include "base/memory/ref_counted.h" |
19 #include "ipc/ipc_message.h" | 19 #include "ipc/ipc_message.h" |
20 | 20 |
21 class AutomationProviderList; | 21 class AutomationProviderList; |
22 class BackgroundModeManager; | 22 class BackgroundModeManager; |
23 class ChromeNetLog; | 23 class ChromeNetLog; |
24 class ComponentUpdateService; | |
24 class DevToolsManager; | 25 class DevToolsManager; |
25 class DownloadRequestLimiter; | 26 class DownloadRequestLimiter; |
26 class DownloadStatusUpdater; | 27 class DownloadStatusUpdater; |
27 class ExtensionEventRouterForwarder; | 28 class ExtensionEventRouterForwarder; |
28 class GpuBlacklistUpdater; | 29 class GpuBlacklistUpdater; |
29 class GoogleURLTracker; | 30 class GoogleURLTracker; |
30 class IconManager; | 31 class IconManager; |
31 class IntranetRedirectDetector; | 32 class IntranetRedirectDetector; |
32 class IOThread; | 33 class IOThread; |
33 class MetricsService; | 34 class MetricsService; |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
239 } | 240 } |
240 | 241 |
241 void set_plugin_data_remover_mime_type(const std::string& mime_type) { | 242 void set_plugin_data_remover_mime_type(const std::string& mime_type) { |
242 plugin_data_remover_mime_type_ = mime_type; | 243 plugin_data_remover_mime_type_ = mime_type; |
243 } | 244 } |
244 | 245 |
245 virtual MHTMLGenerationManager* mhtml_generation_manager() = 0; | 246 virtual MHTMLGenerationManager* mhtml_generation_manager() = 0; |
246 | 247 |
247 virtual GpuBlacklistUpdater* gpu_blacklist_updater() = 0; | 248 virtual GpuBlacklistUpdater* gpu_blacklist_updater() = 0; |
248 | 249 |
250 #if !defined(OS_CHROMEOS) | |
asargent_no_longer_on_chrome
2011/08/02 23:57:07
So I guess the plan is to not use this on chromeos
cpu_(ooo_6.6-7.5)
2011/08/03 20:17:15
Done.
| |
251 virtual ComponentUpdateService* component_updater() = 0; | |
252 #endif | |
253 | |
249 private: | 254 private: |
250 // User-data-dir based profiles. | 255 // User-data-dir based profiles. |
251 std::vector<std::wstring> user_data_dir_profiles_; | 256 std::vector<std::wstring> user_data_dir_profiles_; |
252 | 257 |
253 // Used for testing plugin data removal at shutdown. | 258 // Used for testing plugin data removal at shutdown. |
254 std::string plugin_data_remover_mime_type_; | 259 std::string plugin_data_remover_mime_type_; |
255 | 260 |
256 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 261 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
257 }; | 262 }; |
258 | 263 |
259 extern BrowserProcess* g_browser_process; | 264 extern BrowserProcess* g_browser_process; |
260 | 265 |
261 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 266 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
OLD | NEW |