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 12 matching lines...) Expand all Loading... |
23 class ChromeNetLog; | 23 class ChromeNetLog; |
24 class DevToolsManager; | 24 class DevToolsManager; |
25 class DownloadRequestLimiter; | 25 class DownloadRequestLimiter; |
26 class DownloadStatusUpdater; | 26 class DownloadStatusUpdater; |
27 class ExtensionEventRouterForwarder; | 27 class ExtensionEventRouterForwarder; |
28 class GoogleURLTracker; | 28 class GoogleURLTracker; |
29 class IconManager; | 29 class IconManager; |
30 class IntranetRedirectDetector; | 30 class IntranetRedirectDetector; |
31 class IOThread; | 31 class IOThread; |
32 class MetricsService; | 32 class MetricsService; |
| 33 class MHTMLGenerationManager; |
33 class NotificationUIManager; | 34 class NotificationUIManager; |
34 class PrefService; | 35 class PrefService; |
35 class ProfileManager; | 36 class ProfileManager; |
36 class ResourceDispatcherHost; | 37 class ResourceDispatcherHost; |
37 class SafeBrowsingService; | 38 class SafeBrowsingService; |
38 class SidebarManager; | 39 class SidebarManager; |
39 class StatusTray; | 40 class StatusTray; |
40 class TabCloseableStateWatcher; | 41 class TabCloseableStateWatcher; |
41 class ThumbnailGenerator; | 42 class ThumbnailGenerator; |
42 class WatchDogThread; | 43 class WatchDogThread; |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 #endif | 237 #endif |
237 | 238 |
238 const std::string& plugin_data_remover_mime_type() const { | 239 const std::string& plugin_data_remover_mime_type() const { |
239 return plugin_data_remover_mime_type_; | 240 return plugin_data_remover_mime_type_; |
240 } | 241 } |
241 | 242 |
242 void set_plugin_data_remover_mime_type(const std::string& mime_type) { | 243 void set_plugin_data_remover_mime_type(const std::string& mime_type) { |
243 plugin_data_remover_mime_type_ = mime_type; | 244 plugin_data_remover_mime_type_ = mime_type; |
244 } | 245 } |
245 | 246 |
| 247 virtual MHTMLGenerationManager* mhtml_generation_manager() = 0; |
| 248 |
246 private: | 249 private: |
247 // User-data-dir based profiles. | 250 // User-data-dir based profiles. |
248 std::vector<std::wstring> user_data_dir_profiles_; | 251 std::vector<std::wstring> user_data_dir_profiles_; |
249 | 252 |
250 // Used for testing plugin data removal at shutdown. | 253 // Used for testing plugin data removal at shutdown. |
251 std::string plugin_data_remover_mime_type_; | 254 std::string plugin_data_remover_mime_type_; |
252 | 255 |
253 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 256 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
254 }; | 257 }; |
255 | 258 |
256 extern BrowserProcess* g_browser_process; | 259 extern BrowserProcess* g_browser_process; |
257 | 260 |
258 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 261 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
OLD | NEW |