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

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

Issue 625113002: replace OVERRIDE and FINAL with override and final in chrome/browser/[a-i]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix newly added OVERRIDEs Created 6 years, 2 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 unified diff | Download patch
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 29 matching lines...) Expand all
40 40
41 static void SetCallbackForTesting(FakeCreateCallback* callback); 41 static void SetCallbackForTesting(FakeCreateCallback* callback);
42 42
43 private: 43 private:
44 static FakeCreateCallback* callback_; 44 static FakeCreateCallback* callback_;
45 45
46 explicit DownloadRequestInfoBarDelegate( 46 explicit DownloadRequestInfoBarDelegate(
47 base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host); 47 base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host);
48 48
49 // ConfirmInfoBarDelegate: 49 // ConfirmInfoBarDelegate:
50 virtual int GetIconID() const OVERRIDE; 50 virtual int GetIconID() const override;
51 virtual base::string16 GetMessageText() const OVERRIDE; 51 virtual base::string16 GetMessageText() const override;
52 virtual base::string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; 52 virtual base::string16 GetButtonLabel(InfoBarButton button) const override;
53 virtual bool Accept() OVERRIDE; 53 virtual bool Accept() override;
54 virtual bool Cancel() OVERRIDE; 54 virtual bool Cancel() override;
55 55
56 bool responded_; 56 bool responded_;
57 base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host_; 57 base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host_;
58 58
59 DISALLOW_COPY_AND_ASSIGN(DownloadRequestInfoBarDelegate); 59 DISALLOW_COPY_AND_ASSIGN(DownloadRequestInfoBarDelegate);
60 }; 60 };
61 61
62 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_REQUEST_INFOBAR_DELEGATE_H_ 62 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_REQUEST_INFOBAR_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698