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

Unified Diff: chrome/browser/ui/cocoa/login_prompt_cocoa.mm

Issue 627043002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[a-s]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/login_prompt_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/login_prompt_cocoa.mm b/chrome/browser/ui/cocoa/login_prompt_cocoa.mm
index 6e1b27c5b9abee6e3fe7a914b4f9af53b8a5d5f5..9986a1ebac8f66478cf2f49418a6f85670956a70 100644
--- a/chrome/browser/ui/cocoa/login_prompt_cocoa.mm
+++ b/chrome/browser/ui/cocoa/login_prompt_cocoa.mm
@@ -43,18 +43,18 @@ class LoginHandlerMac : public LoginHandler,
// LoginModelObserver implementation.
virtual void OnAutofillDataAvailable(
const base::string16& username,
- const base::string16& password) OVERRIDE {
+ const base::string16& password) override {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
[sheet_controller_ autofillLogin:base::SysUTF16ToNSString(username)
password:base::SysUTF16ToNSString(password)];
}
- virtual void OnLoginModelDestroying() OVERRIDE {}
+ virtual void OnLoginModelDestroying() override {}
// LoginHandler:
virtual void BuildViewForPasswordManager(
password_manager::PasswordManager* manager,
- const base::string16& explanation) OVERRIDE {
+ const base::string16& explanation) override {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
sheet_controller_.reset(
@@ -81,7 +81,7 @@ class LoginHandlerMac : public LoginHandler,
NotifyAuthNeeded();
}
- virtual void CloseDialog() OVERRIDE {
+ virtual void CloseDialog() override {
// The hosting dialog may have been freed.
if (constrained_window_)
constrained_window_->CloseWebContentsModalDialog();
@@ -89,7 +89,7 @@ class LoginHandlerMac : public LoginHandler,
// Overridden from ConstrainedWindowMacDelegate:
virtual void OnConstrainedWindowClosed(
- ConstrainedWindowMac* window) OVERRIDE {
+ ConstrainedWindowMac* window) override {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
SetModel(NULL);
ReleaseSoon();

Powered by Google App Engine
This is Rietveld 408576698