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

Unified Diff: base/waitable_event.h

Issue 7995: Move Time, TimeDelta and TimeTicks into namespace base. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 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
Index: base/waitable_event.h
===================================================================
--- base/waitable_event.h (revision 3954)
+++ base/waitable_event.h (working copy)
@@ -14,10 +14,10 @@
#include "base/lock.h"
#endif
-class TimeDelta;
-
namespace base {
+class TimeDelta;
+
// A WaitableEvent can be a useful thread synchronization tool when you want to
// allow one thread to wait for another thread to finish some work.
//
@@ -62,7 +62,7 @@
// Wait up until max_time has passed for the event to be signaled. Returns
// true if the event was signaled. If this method returns false, then it
// does not necessarily mean that max_time was exceeded.
- bool TimedWait(const TimeDelta& max_time);
+ bool TimedWait(const base::TimeDelta& max_time);
brettw 2008/10/24 23:47:52 You don't need this one either.
private:
#if defined(OS_WIN)
@@ -80,4 +80,3 @@
} // namespace base
#endif // BASE_WAITABLE_EVENT_H_
-

Powered by Google App Engine
This is Rietveld 408576698