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

Unified Diff: base/waitable_event.h

Issue 3452030: FBTF: Moves code to the headers. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 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
« no previous file with comments | « base/tracked_objects.cc ('k') | base/waitable_event_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/waitable_event.h
diff --git a/base/waitable_event.h b/base/waitable_event.h
index 0a826550a1c2e3b56ebc9442c89c9e900a0af3f1..6deb1876631ca249c8db9e25ca2a1f50a883a888 100644
--- a/base/waitable_event.h
+++ b/base/waitable_event.h
@@ -144,10 +144,8 @@ class WaitableEvent {
struct WaitableEventKernel :
public RefCountedThreadSafe<WaitableEventKernel> {
public:
- WaitableEventKernel(bool manual_reset, bool initially_signaled)
- : manual_reset_(manual_reset),
- signaled_(initially_signaled) {
- }
+ WaitableEventKernel(bool manual_reset, bool initially_signaled);
+ virtual ~WaitableEventKernel();
bool Dequeue(Waiter* waiter, void* tag);
@@ -157,6 +155,7 @@ class WaitableEvent {
std::list<Waiter*> waiters_;
};
+ struct WaitableEventKernel;
scoped_refptr<WaitableEventKernel> kernel_;
bool SignalAll();
« no previous file with comments | « base/tracked_objects.cc ('k') | base/waitable_event_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698