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

Side by Side Diff: base/waitable_event.h

Issue 48105: Remove unneeded uses of base/ref_counted.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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
« no previous file with comments | « no previous file | chrome/browser/autocomplete/autocomplete_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_H_ 5 #ifndef BASE_WAITABLE_EVENT_H_
6 #define BASE_WAITABLE_EVENT_H_ 6 #define BASE_WAITABLE_EVENT_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 #if defined(OS_WIN) 10 #if defined(OS_WIN)
11 #include <windows.h> 11 #include <windows.h>
12 #endif 12 #endif
13 13
14 #if defined(OS_POSIX) 14 #if defined(OS_POSIX)
15 #include <list> 15 #include <list>
16 #include <utility> 16 #include <utility>
17 #include "base/condition_variable.h" 17 #include "base/condition_variable.h"
18 #include "base/lock.h" 18 #include "base/lock.h"
19 #include "base/ref_counted.h"
20 #endif 19 #endif
21 20
22 #include "base/message_loop.h" 21 #include "base/message_loop.h"
23 22
24 namespace base { 23 namespace base {
25 24
26 // This replaces INFINITE from Win32 25 // This replaces INFINITE from Win32
27 static const int kNoTimeout = -1; 26 static const int kNoTimeout = -1;
28 27
29 class TimeDelta; 28 class TimeDelta;
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 const bool manual_reset_; 149 const bool manual_reset_;
151 std::list<Waiter*> waiters_; 150 std::list<Waiter*> waiters_;
152 #endif 151 #endif
153 152
154 DISALLOW_COPY_AND_ASSIGN(WaitableEvent); 153 DISALLOW_COPY_AND_ASSIGN(WaitableEvent);
155 }; 154 };
156 155
157 } // namespace base 156 } // namespace base
158 157
159 #endif // BASE_WAITABLE_EVENT_H_ 158 #endif // BASE_WAITABLE_EVENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/autocomplete/autocomplete_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698