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

Unified Diff: content/shell/renderer/test_runner/mock_web_user_media_client.cc

Issue 629143003: Replace OVERRIDE and FINAL with override and final in content/shell/[a-s]* (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/shell/renderer/test_runner/mock_web_user_media_client.cc
diff --git a/content/shell/renderer/test_runner/mock_web_user_media_client.cc b/content/shell/renderer/test_runner/mock_web_user_media_client.cc
index 2431f05de701211d5cd53b3b3e2953deba04e30d..738bce2c864007c350786259a74d4d2eb72d7216 100644
--- a/content/shell/renderer/test_runner/mock_web_user_media_client.cc
+++ b/content/shell/renderer/test_runner/mock_web_user_media_client.cc
@@ -46,7 +46,7 @@ class UserMediaRequestTask : public WebMethodTask<MockWebUserMediaClient> {
DCHECK(!result_.isNull());
}
- virtual void RunIfValid() OVERRIDE { request_.requestSucceeded(result_); }
+ virtual void RunIfValid() override { request_.requestSucceeded(result_); }
private:
WebUserMediaRequest request_;
@@ -65,7 +65,7 @@ class UserMediaRequestConstraintFailedTask
request_(request),
constraint_(constraint) {}
- virtual void RunIfValid() OVERRIDE {
+ virtual void RunIfValid() override {
request_.requestFailedConstraint(constraint_);
}
@@ -84,7 +84,7 @@ class UserMediaRequestPermissionDeniedTask
: WebMethodTask<MockWebUserMediaClient>(object),
request_(request) {}
- virtual void RunIfValid() OVERRIDE { request_.requestFailed(); }
+ virtual void RunIfValid() override { request_.requestFailed(); }
private:
WebUserMediaRequest request_;
@@ -101,7 +101,7 @@ class MediaDevicesRequestTask : public WebMethodTask<MockWebUserMediaClient> {
request_(request),
result_(result) {}
- virtual void RunIfValid() OVERRIDE { request_.requestSucceeded(result_); }
+ virtual void RunIfValid() override { request_.requestSucceeded(result_); }
private:
WebMediaDevicesRequest request_;
@@ -119,7 +119,7 @@ class SourcesRequestTask : public WebMethodTask<MockWebUserMediaClient> {
request_(request),
result_(result) {}
- virtual void RunIfValid() OVERRIDE { request_.requestSucceeded(result_); }
+ virtual void RunIfValid() override { request_.requestSucceeded(result_); }
private:
WebMediaStreamTrackSourcesRequest request_;

Powered by Google App Engine
This is Rietveld 408576698