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

Unified Diff: base/threading/simple_thread.h

Issue 614103004: replace 'virtual ... OVERRIDE' with '... override' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: process base/ Created 6 years, 3 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: base/threading/simple_thread.h
diff --git a/base/threading/simple_thread.h b/base/threading/simple_thread.h
index df03ce1c8131e32144003989acb0eb4e5732381e..7362d1c4b88dfdf1deb5e56e87c74c516e676c6c 100644
--- a/base/threading/simple_thread.h
+++ b/base/threading/simple_thread.h
@@ -102,7 +102,7 @@ class BASE_EXPORT SimpleThread : public PlatformThread::Delegate {
bool HasBeenJoined() { return joined_; }
// Overridden from PlatformThread::Delegate:
- virtual void ThreadMain() OVERRIDE;
+ void ThreadMain() override;
// Only set priorities with a careful understanding of the consequences.
// This is meant for very limited use cases.
@@ -136,7 +136,8 @@ class BASE_EXPORT DelegateSimpleThread : public SimpleThread {
const Options& options);
virtual ~DelegateSimpleThread();
- virtual void Run() OVERRIDE;
+ void Run() override;
+
private:
Delegate* delegate_;
};
@@ -174,7 +175,7 @@ class BASE_EXPORT DelegateSimpleThreadPool
}
// We implement the Delegate interface, for running our internal threads.
- virtual void Run() OVERRIDE;
+ void Run() override;
private:
const std::string name_prefix_;

Powered by Google App Engine
This is Rietveld 408576698