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

Unified Diff: chrome/browser/ui/webui/chromeos/imageburner/imageburner_utils.h

Issue 9003014: Replace WebUI::tab_contents() with web_contents() and switch all users to use web_contents.h inst... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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: chrome/browser/ui/webui/chromeos/imageburner/imageburner_utils.h
===================================================================
--- chrome/browser/ui/webui/chromeos/imageburner/imageburner_utils.h (revision 116011)
+++ chrome/browser/ui/webui/chromeos/imageburner/imageburner_utils.h (working copy)
@@ -49,16 +49,16 @@
// Downloads a file from the Internet.
// Should be called from UI thread.
void DownloadFile(const GURL& url, const FilePath& target_file,
- TabContents* tab_contents);
+ content::WebContents* web_contents);
// Creates file stream for a download.
// Must be called from FILE thread.
void CreateFileStreamOnFileThread(const GURL& url, const FilePath& file_path,
- TabContents* tab_contents);
+ content::WebContents* web_contents);
// Gets called after file stream is created and starts download.
void OnFileStreamCreatedOnUIThread(const GURL& url,
- const FilePath& file_path, TabContents* tab_contents,
+ const FilePath& file_path, content::WebContents* web_contents,
net::FileStream* created_file_stream);
// Adds an item to list of listeners that wait for confirmation that download
@@ -235,7 +235,7 @@
// Creates URL image should be fetched from.
// Must be called from UI thread.
- void FetchConfigFile(TabContents* tab_content,
+ void FetchConfigFile(content::WebContents* web_content,
Delegate* delegate);
// Creates directory image will be downloaded to.

Powered by Google App Engine
This is Rietveld 408576698