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

Unified Diff: content/browser/loader/resource_scheduler_unittest.cc

Issue 638503002: Replacing the OVERRIDE with override and FINAL with final in content/browser/[download|… (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: content/browser/loader/resource_scheduler_unittest.cc
diff --git a/content/browser/loader/resource_scheduler_unittest.cc b/content/browser/loader/resource_scheduler_unittest.cc
index a7baed109358fda5a0663ff5462aee710587e015..1dd99f1b1060efa29caec00844f8e627390824ed 100644
--- a/content/browser/loader/resource_scheduler_unittest.cc
+++ b/content/browser/loader/resource_scheduler_unittest.cc
@@ -65,7 +65,7 @@ class TestRequest : public ResourceController {
started_ = !deferred;
}
- virtual void Cancel() OVERRIDE {
+ virtual void Cancel() override {
// Alert the scheduler that the request can be deleted.
throttle_.reset(0);
}
@@ -74,9 +74,9 @@ class TestRequest : public ResourceController {
protected:
// ResourceController interface:
- virtual void CancelAndIgnore() OVERRIDE {}
- virtual void CancelWithError(int error_code) OVERRIDE {}
- virtual void Resume() OVERRIDE { started_ = true; }
+ virtual void CancelAndIgnore() override {}
+ virtual void CancelWithError(int error_code) override {}
+ virtual void Resume() override { started_ = true; }
private:
bool started_;
@@ -95,7 +95,7 @@ class CancelingTestRequest : public TestRequest {
}
private:
- virtual void Resume() OVERRIDE {
+ virtual void Resume() override {
TestRequest::Resume();
request_to_cancel_.reset();
}
@@ -105,8 +105,8 @@ class CancelingTestRequest : public TestRequest {
class FakeResourceContext : public ResourceContext {
private:
- virtual net::HostResolver* GetHostResolver() OVERRIDE { return NULL; }
- virtual net::URLRequestContext* GetRequestContext() OVERRIDE { return NULL; }
+ virtual net::HostResolver* GetHostResolver() override { return NULL; }
+ virtual net::URLRequestContext* GetRequestContext() override { return NULL; }
};
class FakeResourceMessageFilter : public ResourceMessageFilter {
« no previous file with comments | « content/browser/loader/resource_scheduler_filter.h ('k') | content/browser/loader/stream_resource_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698