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

Side by Side Diff: base/synchronization/waitable_event_watcher.h

Issue 5977010: Move CancellationFlag and WaitableEvent to the synchronization subdirectory.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BASE_WAITABLE_EVENT_WATCHER_H_ 5 #ifndef BASE_SYNCHRONIZATION_WAITABLE_EVENT_WATCHER_H_
6 #define BASE_WAITABLE_EVENT_WATCHER_H_ 6 #define BASE_SYNCHRONIZATION_WAITABLE_EVENT_WATCHER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
11 #if defined(OS_WIN) 11 #if defined(OS_WIN)
12 #include "base/win/object_watcher.h" 12 #include "base/win/object_watcher.h"
13 #else 13 #else
14 #include "base/message_loop.h" 14 #include "base/message_loop.h"
15 #include "base/waitable_event.h" 15 #include "base/synchronization/waitable_event.h"
16 #endif 16 #endif
17 17
18 namespace base { 18 namespace base {
19 19
20 class Flag; 20 class Flag;
21 class AsyncWaiter; 21 class AsyncWaiter;
22 class AsyncCallbackTask; 22 class AsyncCallbackTask;
23 class WaitableEvent; 23 class WaitableEvent;
24 24
25 // ----------------------------------------------------------------------------- 25 // -----------------------------------------------------------------------------
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 AsyncWaiter* waiter_; 152 AsyncWaiter* waiter_;
153 AsyncCallbackTask* callback_task_; 153 AsyncCallbackTask* callback_task_;
154 scoped_refptr<WaitableEvent::WaitableEventKernel> kernel_; 154 scoped_refptr<WaitableEvent::WaitableEventKernel> kernel_;
155 #endif 155 #endif
156 156
157 Delegate* delegate_; 157 Delegate* delegate_;
158 }; 158 };
159 159
160 } // namespace base 160 } // namespace base
161 161
162 #endif // BASE_WAITABLE_EVENT_WATCHER_H_ 162 #endif // BASE_SYNCHRONIZATION_WAITABLE_EVENT_WATCHER_H_
OLDNEW
« no previous file with comments | « base/synchronization/waitable_event_unittest.cc ('k') | base/synchronization/waitable_event_watcher_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698