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

Unified Diff: base/threading/thread_collision_warner_unittest.cc

Issue 10004001: Add virtual and OVERRIDE to base/ implementation files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Win Fix -> Missing header Created 8 years, 8 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_checker_unittest.cc ('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 d9e535b800874e8006f69f3f1695b080ed73e617..64065577dc125f658e992777b12234c33169ea06 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() {
+ virtual void warn() OVERRIDE {
failed_ = true;
}
@@ -151,7 +151,7 @@ TEST(ThreadCollisionTest, MTBookCriticalSectionTest) {
explicit QueueUser(NonThreadSafeQueue& queue)
: queue_(queue) {}
- virtual void Run() {
+ 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() {
+ virtual void Run() OVERRIDE {
queue_.push(0);
queue_.pop();
}
@@ -270,7 +270,7 @@ TEST(ThreadCollisionTest, MTSynchedScopedBookCriticalSectionTest) {
: queue_(queue),
lock_(lock) {}
- virtual void Run() {
+ 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() {
+ virtual void Run() OVERRIDE {
{
base::AutoLock auto_lock(lock_);
queue_.push(0);
« no previous file with comments | « base/threading/thread_checker_unittest.cc ('k') | base/threading/thread_local_storage_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698