summaryrefslogtreecommitdiffstats
path: root/content/renderer/mhtml_generator.h
diff options
context:
space:
mode:
authorjcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-23 16:50:25 +0000
committerjcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-23 16:50:25 +0000
commit306d30a331a567b078488114b0d9762ab27c1b02 (patch)
treee868cce1dd42038d0a44e64b651b3b1e65190ca2 /content/renderer/mhtml_generator.h
parent41238a2269b7e131b0cd342d1df65f3a2fa6b2b1 (diff)
downloadchromium_src-306d30a331a567b078488114b0d9762ab27c1b02.zip
chromium_src-306d30a331a567b078488114b0d9762ab27c1b02.tar.gz
chromium_src-306d30a331a567b078488114b0d9762ab27c1b02.tar.bz2
Revert 102505 - Adding the first one of the saveAs extension APIs.
The saveAsMHTML allows saving a tab as MHTML. BUG=97306 TEST=Run the browser tests. Review URL: http://codereview.chromium.org/7946008 TBR=jcivelli@chromium.org Review URL: http://codereview.chromium.org/8008020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102508 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/mhtml_generator.h')
-rw-r--r--content/renderer/mhtml_generator.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/content/renderer/mhtml_generator.h b/content/renderer/mhtml_generator.h
index 96c2a8a..5531095 100644
--- a/content/renderer/mhtml_generator.h
+++ b/content/renderer/mhtml_generator.h
@@ -21,9 +21,8 @@ class MHTMLGenerator : public RenderViewObserver {
void OnSavePageAsMHTML(int job_id,
IPC::PlatformFileForTransit file_for_transit);
- void NotifyBrowser(int job_id, int64 data_size);
- // Returns the size of the generated MHTML, -1 if it failed.
- int64 GenerateMHTML();
+ void NotifyBrowser(int job_id, bool success);
+ bool GenerateMHTML();
base::PlatformFile file_;