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

Unified Diff: chrome/test/chromedriver/performance_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/performance_logger_unittest.cc
diff --git a/chrome/test/chromedriver/performance_logger_unittest.cc b/chrome/test/chromedriver/performance_logger_unittest.cc
index badaa9d1df2726a0c91b2fed08b5349d1c1ff71d..51ebf1c882e0bdd52ded0b115b118eb619b8afa9 100644
--- a/chrome/test/chromedriver/performance_logger_unittest.cc
+++ b/chrome/test/chromedriver/performance_logger_unittest.cc
@@ -56,25 +56,25 @@ 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_commands_.push_back(new DevToolsCommand(method,
params.DeepCopy()));
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_;
}
@@ -103,7 +103,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_;
@@ -262,7 +262,7 @@ class FakeBrowserwideClient : public FakeDevToolsClient {
// Overridden from DevToolsClient:
virtual Status HandleEventsUntil(
const ConditionalFunc& conditional_func,
- const base::TimeDelta& timeout) OVERRIDE {
+ const base::TimeDelta& timeout) override {
TriggerEvent("Tracing.tracingComplete");
events_handled_ = true;
return Status(kOk);
« no previous file with comments | « chrome/test/chromedriver/performance_logger.h ('k') | chrome/test/chromedriver/server/chromedriver_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698