HomeSort by relevance Sort by last modified time
    Searched defs:OneShotEvent (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/extensions/common/
one_shot_event.cc 16 struct OneShotEvent::TaskInfo {
29 OneShotEvent::OneShotEvent() : signaled_(false) {
30 // It's acceptable to construct the OneShotEvent on one thread, but
34 OneShotEvent::~OneShotEvent() {}
36 void OneShotEvent::Post(const tracked_objects::Location& from_here,
41 void OneShotEvent::Post(const tracked_objects::Location& from_here,
53 void OneShotEvent::Signal() {
one_shot_event.h 27 // allows clients to guarantee that code is run after the OneShotEvent
28 // is signaled. If the OneShotEvent is destroyed before it's
35 class OneShotEvent {
37 OneShotEvent();
38 ~OneShotEvent();
53 // becomes true. Inside |task|, if this OneShotEvent is still
55 // OneShotEvent::Reset() doesn't exist).
66 // on a OneShotEvent to complete, so it's almost never safe to use
86 // OneShotEvent to clients that just want to run tasks through it

Completed in 34 milliseconds