diff options
author | jcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-14 19:35:10 +0000 |
---|---|---|
committer | jcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-14 19:35:10 +0000 |
commit | e7f009da9894df2b8e48aa21578aa4e5ecd7a765 (patch) | |
tree | 0ca8f38fa2a3531d6f6ef373faac0b1f84eb7369 /chrome/test | |
parent | 286d5d1b43741c2a4b18d4dde38430e5d06097fa (diff) | |
download | chromium_src-e7f009da9894df2b8e48aa21578aa4e5ecd7a765.zip chromium_src-e7f009da9894df2b8e48aa21578aa4e5ecd7a765.tar.gz chromium_src-e7f009da9894df2b8e48aa21578aa4e5ecd7a765.tar.bz2 |
Hooking MHTML generation to the browser.
This CL adds a class that can be used to generate MHTML for the current
page of a tab.
It is not yet surfaced in the UI.
BUG=None
TEST=Run the browser tests.
Review URL: http://codereview.chromium.org/7044095
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89047 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rw-r--r-- | chrome/test/testing_browser_process.cc | 4 | ||||
-rw-r--r-- | chrome/test/testing_browser_process.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/chrome/test/testing_browser_process.cc b/chrome/test/testing_browser_process.cc index 386ffa0..86332ae 100644 --- a/chrome/test/testing_browser_process.cc +++ b/chrome/test/testing_browser_process.cc @@ -230,6 +230,10 @@ prerender::PrerenderTracker* TestingBrowserProcess::prerender_tracker() { return prerender_tracker_.get(); } +MHTMLGenerationManager* TestingBrowserProcess::mhtml_generation_manager() { + return NULL; +} + void TestingBrowserProcess::SetLocalState(PrefService* local_state) { if (!local_state && notification_ui_manager_.get()) notification_ui_manager_.reset(); // Used local_state_. diff --git a/chrome/test/testing_browser_process.h b/chrome/test/testing_browser_process.h index f2ea1ee..030fea4 100644 --- a/chrome/test/testing_browser_process.h +++ b/chrome/test/testing_browser_process.h @@ -21,6 +21,7 @@ class BackgroundModeManager; class IOThread; class GoogleURLTracker; +class MHTMLGenerationManager; class NotificationUIManager; class PrefService; class WatchDogThread; @@ -113,6 +114,7 @@ class TestingBrowserProcess : public BrowserProcess { #if defined(IPC_MESSAGE_LOG_ENABLED) virtual void SetIPCLoggingEnabled(bool enable) {} #endif + virtual MHTMLGenerationManager* mhtml_generation_manager(); // Set the local state for tests. Consumer is responsible for cleaning it up // afterwards (using ScopedTestingLocalState, for example). |