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

Unified Diff: chrome/test/chromedriver/chrome/console_logger_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
Index: chrome/test/chromedriver/chrome/console_logger_unittest.cc
diff --git a/chrome/test/chromedriver/chrome/console_logger_unittest.cc b/chrome/test/chromedriver/chrome/console_logger_unittest.cc
index 79760d9b91b15132a2246e3daefb1d5b22fdf59c..f72a11cd5beff34074011b7335d9fc7fad63bd1b 100644
--- a/chrome/test/chromedriver/chrome/console_logger_unittest.cc
+++ b/chrome/test/chromedriver/chrome/console_logger_unittest.cc
@@ -37,24 +37,24 @@ class FakeDevToolsClient : public StubDevToolsClient {
}
// Overridden from DevToolsClient:
- virtual Status ConnectIfNecessary() OVERRIDE {
+ virtual Status ConnectIfNecessary() override {
return listener_->OnConnected(this);
}
virtual Status SendCommandAndGetResult(
const std::string& method,
const base::DictionaryValue& params,
- scoped_ptr<base::DictionaryValue>* result) OVERRIDE {
+ scoped_ptr<base::DictionaryValue>* result) override {
sent_command_queue_.push_back(method);
return Status(kOk);
}
- virtual void AddListener(DevToolsEventListener* listener) OVERRIDE {
+ virtual void AddListener(DevToolsEventListener* listener) override {
CHECK(!listener_);
listener_ = listener;
}
- virtual const std::string& GetId() OVERRIDE {
+ virtual const std::string& GetId() override {
return id_;
}
@@ -82,7 +82,7 @@ class FakeLog : public Log {
virtual void AddEntryTimestamped(const base::Time& timestamp,
Level level,
const std::string& source,
- const std::string& message) OVERRIDE;
+ const std::string& message) override;
const ScopedVector<LogEntry>& GetEntries() {
return entries_;
« no previous file with comments | « chrome/test/chromedriver/chrome/console_logger.h ('k') | chrome/test/chromedriver/chrome/debugger_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698