Index: content/public/browser/web_contents.h |
=================================================================== |
--- content/public/browser/web_contents.h (revision 124331) |
+++ content/public/browser/web_contents.h (working copy) |
@@ -7,6 +7,7 @@ |
#pragma once |
#include "base/basictypes.h" |
+#include "base/callback_forward.h" |
#include "base/process_util.h" |
#include "base/string16.h" |
#include "content/common/content_export.h" |
@@ -269,6 +270,12 @@ |
const FilePath& dir_path, |
SavePageType save_type) = 0; |
+ // Generate a MHTML representation of the current page in the given file. |
Jói
2012/03/01 10:42:13
Generate a MHTML -> Generate an MHTML
jam
2012/03/01 18:10:17
Done.
|
+ virtual void GenerateMHTML( |
+ const FilePath& file, |
+ const base::Callback<void(const FilePath& /* path to the MHTML file */, |
+ int64 /* size of the file */)>& callback) = 0; |
+ |
// Returns true if the active NavigationEntry's page_id equals page_id. |
virtual bool IsActiveEntry(int32 page_id) = 0; |