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

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

Issue 2692273008: Hacky slashy (Closed)
Patch Set: wip Created 3 years, 10 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
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_H_ 5 #ifndef BASE_SYNCHRONIZATION_WAITABLE_EVENT_H_
6 #define BASE_SYNCHRONIZATION_WAITABLE_EVENT_H_ 6 #define BASE_SYNCHRONIZATION_WAITABLE_EVENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/base_export.h" 10 #include "base/base_export.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 13
14 #if defined(OS_WIN) 14 #if defined(OS_WIN)
15 #include "base/win/scoped_handle.h" 15 #include "base/win/scoped_handle.h"
16 #endif 16 #endif
17 17
18 #if defined(OS_POSIX) 18 #if defined(OS_POSIX) || defined(OS_FUCHSIA)
19 #include <list> 19 #include <list>
20 #include <utility> 20 #include <utility>
21 #include "base/memory/ref_counted.h" 21 #include "base/memory/ref_counted.h"
22 #include "base/synchronization/lock.h" 22 #include "base/synchronization/lock.h"
23 #endif 23 #endif
24 24
25 namespace base { 25 namespace base {
26 26
27 class TimeDelta; 27 class TimeDelta;
28 class TimeTicks; 28 class TimeTicks;
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 193
194 scoped_refptr<WaitableEventKernel> kernel_; 194 scoped_refptr<WaitableEventKernel> kernel_;
195 #endif 195 #endif
196 196
197 DISALLOW_COPY_AND_ASSIGN(WaitableEvent); 197 DISALLOW_COPY_AND_ASSIGN(WaitableEvent);
198 }; 198 };
199 199
200 } // namespace base 200 } // namespace base
201 201
202 #endif // BASE_SYNCHRONIZATION_WAITABLE_EVENT_H_ 202 #endif // BASE_SYNCHRONIZATION_WAITABLE_EVENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698