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

Unified Diff: chrome/browser/component_updater/test/component_updater_service_unittest.cc

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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/component_updater/test/component_updater_service_unittest.cc
diff --git a/chrome/browser/component_updater/test/component_updater_service_unittest.cc b/chrome/browser/component_updater/test/component_updater_service_unittest.cc
index 047ba266f18e9db500d0bf6812130b492e7d97b4..5898132c93b0174c3dd221b2f2b65e4b87f35800 100644
--- a/chrome/browser/component_updater/test/component_updater_service_unittest.cc
+++ b/chrome/browser/component_updater/test/component_updater_service_unittest.cc
@@ -1003,7 +1003,7 @@ TEST_F(ComponentUpdaterTest, MAYBE_CheckFailedInstallPing) {
// This test installer reports installation failure.
class : public TestInstaller {
virtual bool Install(const base::DictionaryValue& manifest,
- const base::FilePath& unpack_path) OVERRIDE {
+ const base::FilePath& unpack_path) override {
++install_count_;
base::DeleteFile(unpack_path, true);
return false;
@@ -1209,10 +1209,10 @@ void RequestAndDeleteResourceThrottle(ComponentUpdateService* cus,
class NoCallResourceController : public TestResourceController {
public:
virtual ~NoCallResourceController() {}
- virtual void Cancel() OVERRIDE { CHECK(false); }
- virtual void CancelAndIgnore() OVERRIDE { CHECK(false); }
- virtual void CancelWithError(int error_code) OVERRIDE { CHECK(false); }
- virtual void Resume() OVERRIDE { CHECK(false); }
+ virtual void Cancel() override { CHECK(false); }
+ virtual void CancelAndIgnore() override { CHECK(false); }
+ virtual void CancelWithError(int error_code) override { CHECK(false); }
+ virtual void Resume() override { CHECK(false); }
} controller;
delete RequestTestResourceThrottle(cus, &controller, crx_id);
@@ -1278,16 +1278,16 @@ class CancelResourceController : public TestResourceController {
CHECK_EQ(1, resume_called_);
delete throttle_;
}
- virtual void Cancel() OVERRIDE { CHECK(false); }
- virtual void CancelAndIgnore() OVERRIDE { CHECK(false); }
- virtual void CancelWithError(int error_code) OVERRIDE { CHECK(false); }
- virtual void Resume() OVERRIDE {
+ virtual void Cancel() override { CHECK(false); }
+ virtual void CancelAndIgnore() override { CHECK(false); }
+ virtual void CancelWithError(int error_code) override { CHECK(false); }
+ virtual void Resume() override {
BrowserThread::PostTask(BrowserThread::IO,
FROM_HERE,
base::Bind(&CancelResourceController::ResumeCalled,
base::Unretained(this)));
}
- virtual void SetThrottle(content::ResourceThrottle* throttle) OVERRIDE {
+ virtual void SetThrottle(content::ResourceThrottle* throttle) override {
throttle_ = throttle;
bool defer = false;
// Initially the throttle is blocked. The CUS needs to run a

Powered by Google App Engine
This is Rietveld 408576698