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

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

Issue 6714032: Move some files in base to base/memory. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: only base Created 9 years, 9 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) 2011 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_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 #pragma once 7 #pragma once
8 8
9 #include "base/base_api.h" 9 #include "base/base_api.h"
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 11
12 #if defined(OS_WIN) 12 #if defined(OS_WIN)
13 #include <windows.h> 13 #include <windows.h>
14 #endif 14 #endif
15 15
16 #if defined(OS_POSIX) 16 #if defined(OS_POSIX)
17 #include <list> 17 #include <list>
18 #include <utility> 18 #include <utility>
19 #include "base/ref_counted.h" 19 #include "base/memory/ref_counted.h"
20 #include "base/synchronization/lock.h" 20 #include "base/synchronization/lock.h"
21 #endif 21 #endif
22 22
23 namespace base { 23 namespace base {
24 24
25 // This replaces INFINITE from Win32 25 // This replaces INFINITE from Win32
26 static const int kNoTimeout = -1; 26 static const int kNoTimeout = -1;
27 27
28 class TimeDelta; 28 class TimeDelta;
29 29
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 172
173 scoped_refptr<WaitableEventKernel> kernel_; 173 scoped_refptr<WaitableEventKernel> kernel_;
174 #endif 174 #endif
175 175
176 DISALLOW_COPY_AND_ASSIGN(WaitableEvent); 176 DISALLOW_COPY_AND_ASSIGN(WaitableEvent);
177 }; 177 };
178 178
179 } // namespace base 179 } // namespace base
180 180
181 #endif // BASE_SYNCHRONIZATION_WAITABLE_EVENT_H_ 181 #endif // BASE_SYNCHRONIZATION_WAITABLE_EVENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698