Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Side by Side Diff: chrome/browser/browser_process.h

Issue 7044095: Hooking MHTML generation to the browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 #endif 233 #endif
233 234
234 const std::string& plugin_data_remover_mime_type() const { 235 const std::string& plugin_data_remover_mime_type() const {
235 return plugin_data_remover_mime_type_; 236 return plugin_data_remover_mime_type_;
236 } 237 }
237 238
238 void set_plugin_data_remover_mime_type(const std::string& mime_type) { 239 void set_plugin_data_remover_mime_type(const std::string& mime_type) {
239 plugin_data_remover_mime_type_ = mime_type; 240 plugin_data_remover_mime_type_ = mime_type;
240 } 241 }
241 242
243 virtual MHTMLGenerationManager* mhtml_generation_manager() = 0;
244
242 private: 245 private:
243 // User-data-dir based profiles. 246 // User-data-dir based profiles.
244 std::vector<std::wstring> user_data_dir_profiles_; 247 std::vector<std::wstring> user_data_dir_profiles_;
245 248
246 // Used for testing plugin data removal at shutdown. 249 // Used for testing plugin data removal at shutdown.
247 std::string plugin_data_remover_mime_type_; 250 std::string plugin_data_remover_mime_type_;
248 251
249 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); 252 DISALLOW_COPY_AND_ASSIGN(BrowserProcess);
250 }; 253 };
251 254
252 extern BrowserProcess* g_browser_process; 255 extern BrowserProcess* g_browser_process;
253 256
254 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ 257 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698