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

Unified Diff: base/threading/thread_collision_warner_unittest.cc

Issue 611153004: replace OVERRIDE and FINAL with override and final in base/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CC_ -> BASE_ 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 | « base/threading/thread_collision_warner.h ('k') | base/threading/thread_local_storage_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/threading/thread_collision_warner_unittest.cc
diff --git a/base/threading/thread_collision_warner_unittest.cc b/base/threading/thread_collision_warner_unittest.cc
index 48710a7f3cc508fe91c6389fe9b1b54ae246596a..c7c7d0acf20054c2d4d710d8ef1f808476e0124c 100644
--- a/base/threading/thread_collision_warner_unittest.cc
+++ b/base/threading/thread_collision_warner_unittest.cc
@@ -41,7 +41,7 @@ class AssertReporter : public base::AsserterBase {
AssertReporter()
: failed_(false) {}
- virtual void warn() OVERRIDE {
+ virtual void warn() override {
failed_ = true;
}
@@ -151,7 +151,7 @@ TEST(ThreadCollisionTest, MTBookCriticalSectionTest) {
explicit QueueUser(NonThreadSafeQueue& queue)
: queue_(queue) {}
- virtual void Run() OVERRIDE {
+ virtual void Run() override {
queue_.push(0);
queue_.pop();
}
@@ -209,7 +209,7 @@ TEST(ThreadCollisionTest, MTScopedBookCriticalSectionTest) {
explicit QueueUser(NonThreadSafeQueue& queue)
: queue_(queue) {}
- virtual void Run() OVERRIDE {
+ virtual void Run() override {
queue_.push(0);
queue_.pop();
}
@@ -270,7 +270,7 @@ TEST(ThreadCollisionTest, MTSynchedScopedBookCriticalSectionTest) {
: queue_(queue),
lock_(lock) {}
- virtual void Run() OVERRIDE {
+ virtual void Run() override {
{
base::AutoLock auto_lock(lock_);
queue_.push(0);
@@ -344,7 +344,7 @@ TEST(ThreadCollisionTest, MTSynchedScopedRecursiveBookCriticalSectionTest) {
: queue_(queue),
lock_(lock) {}
- virtual void Run() OVERRIDE {
+ virtual void Run() override {
{
base::AutoLock auto_lock(lock_);
queue_.push(0);
« no previous file with comments | « base/threading/thread_collision_warner.h ('k') | base/threading/thread_local_storage_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698