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

Side by Side Diff: Source/wtf/MessageQueue.h

Issue 18095003: Replace #include <wtf/foo.h> with #include "wtf/foo.h" in Source/wtf. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
« no previous file with comments | « Source/wtf/MemoryObjectInfo.h ('k') | Source/wtf/Noncopyable.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Google Inc. All rights reserved. 3 * Copyright (C) 2009 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 13 matching lines...) Expand all
24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */ 28 */
29 29
30 #ifndef MessageQueue_h 30 #ifndef MessageQueue_h
31 #define MessageQueue_h 31 #define MessageQueue_h
32 32
33 #include <limits> 33 #include <limits>
34 #include <wtf/Assertions.h> 34 #include "wtf/Assertions.h"
35 #include <wtf/Deque.h> 35 #include "wtf/Deque.h"
36 #include <wtf/Noncopyable.h> 36 #include "wtf/Noncopyable.h"
37 #include <wtf/Threading.h> 37 #include "wtf/Threading.h"
38 38
39 namespace WTF { 39 namespace WTF {
40 40
41 enum MessageQueueWaitResult { 41 enum MessageQueueWaitResult {
42 MessageQueueTerminated, // Queue was destroyed while waiting for m essage. 42 MessageQueueTerminated, // Queue was destroyed while waiting for m essage.
43 MessageQueueTimeout, // Timeout was specified and it expired. 43 MessageQueueTimeout, // Timeout was specified and it expired.
44 MessageQueueMessageReceived // A message was successfully received and returned. 44 MessageQueueMessageReceived // A message was successfully received and returned.
45 }; 45 };
46 46
47 // The queue takes ownership of messages and transfer it to the new owner 47 // The queue takes ownership of messages and transfer it to the new owner
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 } // namespace WTF 227 } // namespace WTF
228 228
229 using WTF::MessageQueue; 229 using WTF::MessageQueue;
230 // MessageQueueWaitResult enum and all its values. 230 // MessageQueueWaitResult enum and all its values.
231 using WTF::MessageQueueWaitResult; 231 using WTF::MessageQueueWaitResult;
232 using WTF::MessageQueueTerminated; 232 using WTF::MessageQueueTerminated;
233 using WTF::MessageQueueTimeout; 233 using WTF::MessageQueueTimeout;
234 using WTF::MessageQueueMessageReceived; 234 using WTF::MessageQueueMessageReceived;
235 235
236 #endif // MessageQueue_h 236 #endif // MessageQueue_h
OLDNEW
« no previous file with comments | « Source/wtf/MemoryObjectInfo.h ('k') | Source/wtf/Noncopyable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698