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

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

Issue 19224003: Use a direct include of the message_loop header in base/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 5 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SYNCHRONIZATION_WAITABLE_EVENT_WATCHER_H_ 5 #ifndef BASE_SYNCHRONIZATION_WAITABLE_EVENT_WATCHER_H_
6 #define BASE_SYNCHRONIZATION_WAITABLE_EVENT_WATCHER_H_ 6 #define BASE_SYNCHRONIZATION_WAITABLE_EVENT_WATCHER_H_
7 7
8 #include "base/base_export.h" 8 #include "base/base_export.h"
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/callback.h" 14 #include "base/callback.h"
15 #include "base/message_loop.h" 15 #include "base/message_loop/message_loop.h"
16 #include "base/synchronization/waitable_event.h" 16 #include "base/synchronization/waitable_event.h"
17 #endif 17 #endif
18 18
19 namespace base { 19 namespace base {
20 20
21 class Flag; 21 class Flag;
22 class AsyncWaiter; 22 class AsyncWaiter;
23 class AsyncCallbackTask; 23 class AsyncCallbackTask;
24 class WaitableEvent; 24 class WaitableEvent;
25 25
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 scoped_refptr<WaitableEvent::WaitableEventKernel> kernel_; 105 scoped_refptr<WaitableEvent::WaitableEventKernel> kernel_;
106 #endif 106 #endif
107 107
108 WaitableEvent* event_; 108 WaitableEvent* event_;
109 EventCallback callback_; 109 EventCallback callback_;
110 }; 110 };
111 111
112 } // namespace base 112 } // namespace base
113 113
114 #endif // BASE_SYNCHRONIZATION_WAITABLE_EVENT_WATCHER_H_ 114 #endif // BASE_SYNCHRONIZATION_WAITABLE_EVENT_WATCHER_H_
OLDNEW
« no previous file with comments | « base/synchronization/cancellation_flag_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