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

Unified Diff: chrome/test/chromedriver/commands_unittest.cc

Issue 637933002: Replace FINAL and OVERRIDE with their C++11 counterparts in chrome/test (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
« no previous file with comments | « chrome/test/chromedriver/command_listener_proxy_unittest.cc ('k') | chrome/test/chromedriver/logging.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/commands_unittest.cc
diff --git a/chrome/test/chromedriver/commands_unittest.cc b/chrome/test/chromedriver/commands_unittest.cc
index 324c09320eff8424f7f4318a14470fda86e95c61..c953d19f34730b87449465c37be610b0d0e9371f 100644
--- a/chrome/test/chromedriver/commands_unittest.cc
+++ b/chrome/test/chromedriver/commands_unittest.cc
@@ -295,7 +295,7 @@ class FindElementWebView : public StubWebView {
virtual Status CallFunction(const std::string& frame,
const std::string& function,
const base::ListValue& args,
- scoped_ptr<base::Value>* result) OVERRIDE {
+ scoped_ptr<base::Value>* result) override {
++current_count_;
if (scenario_ == kElementExistsTimeout ||
(scenario_ == kElementExistsQueryTwice && current_count_ == 1)) {
@@ -507,7 +507,7 @@ class ErrorCallFunctionWebView : public StubWebView {
virtual Status CallFunction(const std::string& frame,
const std::string& function,
const base::ListValue& args,
- scoped_ptr<base::Value>* result) OVERRIDE {
+ scoped_ptr<base::Value>* result) override {
return Status(code_);
}
@@ -555,7 +555,7 @@ class MockCommandListener : public CommandListener {
MockCommandListener() : called_(false) {}
virtual ~MockCommandListener() {}
- virtual Status BeforeCommand(const std::string& command_name) OVERRIDE {
+ virtual Status BeforeCommand(const std::string& command_name) override {
called_ = true;
EXPECT_STREQ("cmd", command_name.c_str());
return Status(kOk);
@@ -662,7 +662,7 @@ class FailingCommandListener : public CommandListener {
FailingCommandListener() {}
virtual ~FailingCommandListener() {}
- virtual Status BeforeCommand(const std::string& command_name) OVERRIDE {
+ virtual Status BeforeCommand(const std::string& command_name) override {
return Status(kUnknownError);
}
};
« no previous file with comments | « chrome/test/chromedriver/command_listener_proxy_unittest.cc ('k') | chrome/test/chromedriver/logging.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698