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

Unified Diff: chrome/browser/extensions/crx_installer_browsertest.cc

Issue 624153002: replace OVERRIDE and FINAL with override and final in chrome/browser/extensions/ (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/extensions/crx_installer_browsertest.cc
diff --git a/chrome/browser/extensions/crx_installer_browsertest.cc b/chrome/browser/extensions/crx_installer_browsertest.cc
index b2517197fe5b236e9a5a6c1b9ed1e549e7f09fcc..5caf207c543582933826a23d2469a7a9909f56d4 100644
--- a/chrome/browser/extensions/crx_installer_browsertest.cc
+++ b/chrome/browser/extensions/crx_installer_browsertest.cc
@@ -105,16 +105,16 @@ class MockInstallPrompt : public ExtensionInstallPrompt {
virtual void ConfirmInstall(
Delegate* delegate,
const Extension* extension,
- const ShowDialogCallback& show_dialog_callback) OVERRIDE {
+ const ShowDialogCallback& show_dialog_callback) override {
proxy_->set_confirmation_requested();
delegate->InstallUIProceed();
}
virtual void OnInstallSuccess(const Extension* extension,
- SkBitmap* icon) OVERRIDE {
+ SkBitmap* icon) override {
proxy_->set_extension_id(extension->id());
base::MessageLoopForUI::current()->Quit();
}
- virtual void OnInstallFailure(const CrxInstallerError& error) OVERRIDE {
+ virtual void OnInstallFailure(const CrxInstallerError& error) override {
proxy_->set_error(error.message());
base::MessageLoopForUI::current()->Quit();
}
@@ -148,12 +148,12 @@ class ManagementPolicyMock : public extensions::ManagementPolicy::Provider {
public:
ManagementPolicyMock() {}
- virtual std::string GetDebugPolicyProviderName() const OVERRIDE {
+ virtual std::string GetDebugPolicyProviderName() const override {
return "ManagementPolicyMock";
}
virtual bool UserMayLoad(const Extension* extension,
- base::string16* error) const OVERRIDE {
+ base::string16* error) const override {
*error = base::UTF8ToUTF16("Dummy error message");
return false;
}
« no previous file with comments | « chrome/browser/extensions/crx_installer.h ('k') | chrome/browser/extensions/declarative_user_script_master.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698