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

Unified Diff: content/public/browser/web_contents.h

Issue 9566001: Hide MHTMLGenerationManager from chrome. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/shell/shell_content_browser_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/shell/shell_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698