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

Unified Diff: chrome/browser/download/download_request_limiter.h

Issue 9030032: Get rid of a bunch of tab_contents.h includes from chrome. These are all trivial changes to use W... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros 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: chrome/browser/download/download_request_limiter.h
===================================================================
--- chrome/browser/download/download_request_limiter.h (revision 116331)
+++ chrome/browser/download/download_request_limiter.h (working copy)
@@ -15,7 +15,6 @@
#include "content/public/browser/notification_registrar.h"
class DownloadRequestInfoBarDelegate;
-class TabContents;
class TabContentsWrapper;
namespace content {
@@ -109,7 +108,7 @@
// Asks the user if they really want to allow the download.
// See description above CanDownloadOnIOThread for details on lifetime of
// callback.
- void PromptUserForDownload(TabContents* tab,
+ void PromptUserForDownload(content::WebContents* tab,
DownloadRequestLimiter::Callback* callback);
// Are we showing a prompt to the user?
@@ -173,7 +172,7 @@
// Returns the download status for a page. This does not change the state in
// anyway.
- DownloadStatus GetDownloadStatus(TabContents* tab);
+ DownloadStatus GetDownloadStatus(content::WebContents* tab);
// Updates the state of the page as necessary and notifies the callback.
// WARNING: both this call and the callback are invoked on the io thread.
« no previous file with comments | « chrome/browser/download/download_manager_unittest.cc ('k') | chrome/browser/download/download_request_limiter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698