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

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

Issue 22694006: Infobar system refactor. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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/download/download_request_infobar_delegate.h
===================================================================
--- chrome/browser/download/download_request_infobar_delegate.h (revision 238220)
+++ chrome/browser/download/download_request_infobar_delegate.h (working copy)
@@ -34,7 +34,7 @@
static scoped_ptr<DownloadRequestInfoBarDelegate> Create(
base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host) {
return scoped_ptr<DownloadRequestInfoBarDelegate>(
- new DownloadRequestInfoBarDelegate(NULL, host));
+ new DownloadRequestInfoBarDelegate(host));
}
#endif
@@ -43,8 +43,7 @@
private:
static FakeCreateCallback* callback_;
- DownloadRequestInfoBarDelegate(
- InfoBarService* infobar_service,
+ explicit DownloadRequestInfoBarDelegate(
base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host);
// ConfirmInfoBarDelegate:
« no previous file with comments | « chrome/browser/download/download_browsertest.cc ('k') | chrome/browser/download/download_request_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698