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

Unified Diff: components/policy/core/common/cloud/mock_device_management_service.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/mock_device_management_service.cc
diff --git a/components/policy/core/common/cloud/mock_device_management_service.cc b/components/policy/core/common/cloud/mock_device_management_service.cc
index f79ee82c414402625dc7250c65c8d97cb4619001..b8c042129119c5dc0747bc1996e41bacc00771fd 100644
--- a/components/policy/core/common/cloud/mock_device_management_service.cc
+++ b/components/policy/core/common/cloud/mock_device_management_service.cc
@@ -29,7 +29,7 @@ class MockRequestJobBase : public DeviceManagementRequestJob {
virtual ~MockRequestJobBase() {}
protected:
- virtual void Run() OVERRIDE {
+ virtual void Run() override {
service_->StartJob(ExtractParameter(dm_protocol::kParamRequest),
gaia_token_,
ExtractParameter(dm_protocol::kParamOAuthToken),
@@ -70,7 +70,7 @@ class SyncRequestJob : public MockRequestJobBase {
virtual ~SyncRequestJob() {}
protected:
- virtual void Run() OVERRIDE {
+ virtual void Run() override {
MockRequestJobBase::Run();
callback_.Run(status_, net::OK, response_);
}
@@ -91,7 +91,7 @@ class AsyncRequestJob : public MockRequestJobBase,
virtual ~AsyncRequestJob() {}
protected:
- virtual void RetryJob() OVERRIDE {
+ virtual void RetryJob() override {
if (!retry_callback_.is_null())
retry_callback_.Run(this);
Run();
@@ -99,7 +99,7 @@ class AsyncRequestJob : public MockRequestJobBase,
virtual void SendResponse(
DeviceManagementStatus status,
- const em::DeviceManagementResponse& response) OVERRIDE {
+ const em::DeviceManagementResponse& response) override {
callback_.Run(status, net::OK, response);
}

Powered by Google App Engine
This is Rietveld 408576698