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

Side by Side Diff: sky/engine/wtf/MessageQueue.h

Issue 746023002: Make absolute and sort all Sky headers (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « sky/engine/wtf/MathExtrasTest.cpp ('k') | sky/engine/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 "sky/engine/wtf/Assertions.h"
35 #include "wtf/Deque.h" 35 #include "sky/engine/wtf/Deque.h"
36 #include "wtf/Noncopyable.h" 36 #include "sky/engine/wtf/Noncopyable.h"
37 #include "wtf/OwnPtr.h" 37 #include "sky/engine/wtf/OwnPtr.h"
38 #include "wtf/PassOwnPtr.h" 38 #include "sky/engine/wtf/PassOwnPtr.h"
39 #include "wtf/ThreadingPrimitives.h" 39 #include "sky/engine/wtf/ThreadingPrimitives.h"
40 40
41 namespace WTF { 41 namespace WTF {
42 42
43 enum MessageQueueWaitResult { 43 enum MessageQueueWaitResult {
44 MessageQueueTerminated, // Queue was destroyed while waiting for m essage. 44 MessageQueueTerminated, // Queue was destroyed while waiting for m essage.
45 MessageQueueTimeout, // Timeout was specified and it expired. 45 MessageQueueTimeout, // Timeout was specified and it expired.
46 MessageQueueMessageReceived // A message was successfully received and returned. 46 MessageQueueMessageReceived // A message was successfully received and returned.
47 }; 47 };
48 48
49 // The queue takes ownership of messages and transfer it to the new owner 49 // The queue takes ownership of messages and transfer it to the new owner
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 } // namespace WTF 202 } // namespace WTF
203 203
204 using WTF::MessageQueue; 204 using WTF::MessageQueue;
205 // MessageQueueWaitResult enum and all its values. 205 // MessageQueueWaitResult enum and all its values.
206 using WTF::MessageQueueWaitResult; 206 using WTF::MessageQueueWaitResult;
207 using WTF::MessageQueueTerminated; 207 using WTF::MessageQueueTerminated;
208 using WTF::MessageQueueTimeout; 208 using WTF::MessageQueueTimeout;
209 using WTF::MessageQueueMessageReceived; 209 using WTF::MessageQueueMessageReceived;
210 210
211 #endif // MessageQueue_h 211 #endif // MessageQueue_h
OLDNEW
« no previous file with comments | « sky/engine/wtf/MathExtrasTest.cpp ('k') | sky/engine/wtf/Noncopyable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698