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

Unified Diff: net/base/net_log_unittest.cc

Issue 623213004: replace OVERRIDE and FINAL with override and final in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: undo unwanted change in comment 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 | « net/base/net_log_logger.h ('k') | net/base/net_util_icu.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_log_unittest.cc
diff --git a/net/base/net_log_unittest.cc b/net/base/net_log_unittest.cc
index 8f15e9cdf7a7d9fa4ee095e5e5550ba09e416a2c..d1e7ddea8029aeb145fbce0bc5f65e683c4ade54 100644
--- a/net/base/net_log_unittest.cc
+++ b/net/base/net_log_unittest.cc
@@ -80,7 +80,7 @@ class CountingObserver : public NetLog::ThreadSafeObserver {
net_log()->RemoveThreadSafeObserver(this);
}
- virtual void OnAddEntry(const NetLog::Entry& entry) OVERRIDE {
+ virtual void OnAddEntry(const NetLog::Entry& entry) override {
++count_;
}
@@ -99,7 +99,7 @@ class LoggingObserver : public NetLog::ThreadSafeObserver {
net_log()->RemoveThreadSafeObserver(this);
}
- virtual void OnAddEntry(const NetLog::Entry& entry) OVERRIDE {
+ virtual void OnAddEntry(const NetLog::Entry& entry) override {
base::Value* value = entry.ToValue();
base::DictionaryValue* dict = NULL;
ASSERT_TRUE(value->GetAsDictionary(&dict));
@@ -138,7 +138,7 @@ class NetLogTestThread : public base::SimpleThread {
net_log_ = net_log;
}
- virtual void Run() OVERRIDE {
+ virtual void Run() override {
start_event_->Wait();
RunTestThread();
}
@@ -165,7 +165,7 @@ class AddEventsTestThread : public NetLogTestThread {
virtual ~AddEventsTestThread() {}
private:
- virtual void RunTestThread() OVERRIDE {
+ virtual void RunTestThread() override {
for (int i = 0; i < kEvents; ++i)
AddEvent(net_log_);
}
@@ -183,7 +183,7 @@ class AddRemoveObserverTestThread : public NetLogTestThread {
}
private:
- virtual void RunTestThread() OVERRIDE {
+ virtual void RunTestThread() override {
for (int i = 0; i < kEvents; ++i) {
ASSERT_FALSE(observer_.net_log());
« no previous file with comments | « net/base/net_log_logger.h ('k') | net/base/net_util_icu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698