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

Unified Diff: components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc

Issue 623133002: replace OVERRIDE and FINAL with override and final in components/ (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: components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc
diff --git a/components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc b/components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc
index 69086202e460b971cc9408de6224beeafe44f7f6..61ce1c41b7c98936d3cdb3ffebc626d206c5c556 100644
--- a/components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc
+++ b/components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc
@@ -89,11 +89,11 @@ class TestURLRequestContextGetter : public net::URLRequestContextGetter {
explicit TestURLRequestContextGetter(
scoped_refptr<base::SingleThreadTaskRunner> task_runner)
: task_runner_(task_runner) {}
- virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE {
+ virtual net::URLRequestContext* GetURLRequestContext() override {
return NULL;
}
virtual scoped_refptr<base::SingleThreadTaskRunner>
- GetNetworkTaskRunner() const OVERRIDE {
+ GetNetworkTaskRunner() const override {
return task_runner_;
}
@@ -113,7 +113,7 @@ class ComponentCloudPolicyServiceTest : public testing::Test {
&store_,
loop_.message_loop_proxy()) {}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
cache_ = new ResourceCache(temp_dir_.path(), loop_.message_loop_proxy());
@@ -146,7 +146,7 @@ class ComponentCloudPolicyServiceTest : public testing::Test {
NULL);
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
// The service cleans up its backend on the background thread.
service_.reset();
RunUntilIdle();

Powered by Google App Engine
This is Rietveld 408576698