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

Unified Diff: content/browser/download/mhtml_generation_manager.h

Issue 9015022: Replace most of Browser::GetSelectedTabContents calls into Browser::GetSelectedWebContents. I've ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 12 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
Index: content/browser/download/mhtml_generation_manager.h
===================================================================
--- content/browser/download/mhtml_generation_manager.h (revision 116109)
+++ content/browser/download/mhtml_generation_manager.h (working copy)
@@ -15,8 +15,11 @@
#include "ipc/ipc_platform_file.h"
class FilePath;
-class TabContents;
+namespace content {
+class WebContents;
+}
+
class CONTENT_EXPORT MHTMLGenerationManager
: public base::RefCountedThreadSafe<
MHTMLGenerationManager, content::BrowserThread::DeleteOnUIThread> {
@@ -28,8 +31,8 @@
int64 /* size of the file */)> GenerateMHTMLCallback;
// Instructs the render view to generate a MHTML representation of the current
- // page for |tab_contents|.
- void GenerateMHTML(TabContents* tab_contents,
+ // page for |web_contents|.
+ void GenerateMHTML(content::WebContents* web_contents,
const FilePath& file,
const GenerateMHTMLCallback& callback);
« no previous file with comments | « content/browser/download/mhtml_generation_browsertest.cc ('k') | content/browser/download/mhtml_generation_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698