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

Unified Diff: base/synchronization/waitable_event_watcher_posix.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
Index: base/synchronization/waitable_event_watcher_posix.cc
diff --git a/base/synchronization/waitable_event_watcher_posix.cc b/base/synchronization/waitable_event_watcher_posix.cc
index 3b0ba70c22b481891d49dea8b3f9437b0ae17084..dd11d770dd97eda3190884630b3373107c3a01c1 100644
--- a/base/synchronization/waitable_event_watcher_posix.cc
+++ b/base/synchronization/waitable_event_watcher_posix.cc
@@ -60,7 +60,7 @@ class AsyncWaiter : public WaitableEvent::Waiter {
callback_(callback),
flag_(flag) { }
- bool Fire(WaitableEvent* event) {
+ virtual bool Fire(WaitableEvent* event) OVERRIDE {
// Post the callback if we haven't been cancelled.
if (!flag_->value()) {
message_loop_->PostTask(FROM_HERE, callback_);
@@ -76,7 +76,7 @@ class AsyncWaiter : public WaitableEvent::Waiter {
}
// See StopWatching for discussion
- bool Compare(void* tag) {
+ virtual bool Compare(void* tag) OVERRIDE {
return tag == flag_.get();
}
« no previous file with comments | « base/synchronization/waitable_event_unittest.cc ('k') | base/synchronization/waitable_event_watcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698