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

Side by Side Diff: chrome/browser/download/download_request_infobar_delegate.h

Issue 105193002: Replace string16 with base::string16. (Closed) Base URL: svn://svn.chromium.org/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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_REQUEST_INFOBAR_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_REQUEST_INFOBAR_DELEGATE_H_
6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_REQUEST_INFOBAR_DELEGATE_H_ 6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_REQUEST_INFOBAR_DELEGATE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "chrome/browser/download/download_request_limiter.h" 10 #include "chrome/browser/download/download_request_limiter.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 private: 43 private:
44 static FakeCreateCallback* callback_; 44 static FakeCreateCallback* callback_;
45 45
46 DownloadRequestInfoBarDelegate( 46 DownloadRequestInfoBarDelegate(
47 InfoBarService* infobar_service, 47 InfoBarService* infobar_service,
48 base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host); 48 base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host);
49 49
50 // ConfirmInfoBarDelegate: 50 // ConfirmInfoBarDelegate:
51 virtual int GetIconID() const OVERRIDE; 51 virtual int GetIconID() const OVERRIDE;
52 virtual string16 GetMessageText() const OVERRIDE; 52 virtual base::string16 GetMessageText() const OVERRIDE;
53 virtual string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; 53 virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE;
54 virtual bool Accept() OVERRIDE; 54 virtual bool Accept() OVERRIDE;
55 virtual bool Cancel() OVERRIDE; 55 virtual bool Cancel() OVERRIDE;
56 56
57 bool responded_; 57 bool responded_;
58 base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host_; 58 base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host_;
59 59
60 DISALLOW_COPY_AND_ASSIGN(DownloadRequestInfoBarDelegate); 60 DISALLOW_COPY_AND_ASSIGN(DownloadRequestInfoBarDelegate);
61 }; 61 };
62 62
63 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_REQUEST_INFOBAR_DELEGATE_H_ 63 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_REQUEST_INFOBAR_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/download/download_query_unittest.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