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

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

Issue 653773004: Standardize usage of virtual/override/final in chrome/ (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: chrome/test/chromedriver/session_commands_unittest.cc
diff --git a/chrome/test/chromedriver/session_commands_unittest.cc b/chrome/test/chromedriver/session_commands_unittest.cc
index 0ca527deeeacb7798b5d68524888be11479ef18b..957da7b54ca10982a8cdf1ad8675256c296a78e0 100644
--- a/chrome/test/chromedriver/session_commands_unittest.cc
+++ b/chrome/test/chromedriver/session_commands_unittest.cc
@@ -47,10 +47,10 @@ namespace {
class DetachChrome : public StubChrome {
public:
DetachChrome() : quit_called_(false) {}
- virtual ~DetachChrome() {}
+ ~DetachChrome() override {}
// Overridden from Chrome:
- virtual Status Quit() override {
+ Status Quit() override {
quit_called_ = true;
return Status(kOk);
}
@@ -95,12 +95,10 @@ namespace {
class FailsToQuitChrome : public StubChrome {
public:
FailsToQuitChrome() {}
- virtual ~FailsToQuitChrome() {}
+ ~FailsToQuitChrome() override {}
// Overridden from Chrome:
- virtual Status Quit() override {
- return Status(kUnknownError);
- }
+ Status Quit() override { return Status(kUnknownError); }
};
} // namespace
« no previous file with comments | « chrome/test/chromedriver/server/chromedriver_server.cc ('k') | chrome/test/chromedriver/session_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698