Index: chrome/browser/browser_process_impl.cc |
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc |
index 771f67eee8323ca335dcd0f3c260c087581a1559..41c846c95b0072fc23aa5629ff791b8663450b7b 100644 |
--- a/chrome/browser/browser_process_impl.cc |
+++ b/chrome/browser/browser_process_impl.cc |
@@ -26,6 +26,7 @@ |
#include "chrome/browser/debugger/devtools_manager.h" |
#include "chrome/browser/debugger/devtools_protocol_handler.h" |
#include "chrome/browser/download/download_file_manager.h" |
+#include "chrome/browser/download/mhtml_generation_manager.h" |
#include "chrome/browser/download/save_file_manager.h" |
#include "chrome/browser/extensions/extension_event_router_forwarder.h" |
#include "chrome/browser/extensions/extension_tab_id_map.h" |
@@ -691,6 +692,13 @@ prerender::PrerenderTracker* BrowserProcessImpl::prerender_tracker() { |
return prerender_tracker_.get(); |
} |
+MHTMLGenerationManager* BrowserProcessImpl::mhtml_generation_manager() { |
+ if (!mhtml_generation_manager_.get()) |
+ mhtml_generation_manager_ = new MHTMLGenerationManager(); |
+ |
+ return mhtml_generation_manager_.get(); |
+} |
+ |
void BrowserProcessImpl::ClearLocalState(const FilePath& profile_path) { |
webkit_database::DatabaseTracker::ClearLocalState(profile_path); |
BrowsingDataRemover::ClearGearsData(profile_path); |