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

Side by Side Diff: mojo/public/bindings/lib/message_queue.h

Issue 213393002: Mojo: Move public C system header files to mojo/public/c/system/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 8 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 | « mojo/public/bindings/lib/fixed_buffer.h ('k') | mojo/public/bindings/lib/scratch_buffer.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 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 MOJO_PUBLIC_BINDINGS_LIB_MESSAGE_QUEUE_H_ 5 #ifndef MOJO_PUBLIC_BINDINGS_LIB_MESSAGE_QUEUE_H_
6 #define MOJO_PUBLIC_BINDINGS_LIB_MESSAGE_QUEUE_H_ 6 #define MOJO_PUBLIC_BINDINGS_LIB_MESSAGE_QUEUE_H_
7 7
8 #include <queue> 8 #include <queue>
9 9
10 #include "mojo/public/system/macros.h" 10 #include "mojo/public/c/system/macros.h"
11 11
12 namespace mojo { 12 namespace mojo {
13 class Message; 13 class Message;
14 14
15 namespace internal { 15 namespace internal {
16 16
17 // A queue for Message objects. 17 // A queue for Message objects.
18 class MessageQueue { 18 class MessageQueue {
19 public: 19 public:
20 MessageQueue(); 20 MessageQueue();
(...skipping 17 matching lines...) Expand all
38 private: 38 private:
39 std::queue<Message*> queue_; 39 std::queue<Message*> queue_;
40 40
41 MOJO_DISALLOW_COPY_AND_ASSIGN(MessageQueue); 41 MOJO_DISALLOW_COPY_AND_ASSIGN(MessageQueue);
42 }; 42 };
43 43
44 } // namespace internal 44 } // namespace internal
45 } // namespace mojo 45 } // namespace mojo
46 46
47 #endif // MOJO_PUBLIC_BINDINGS_LIB_MESSAGE_QUEUE_H_ 47 #endif // MOJO_PUBLIC_BINDINGS_LIB_MESSAGE_QUEUE_H_
OLDNEW
« no previous file with comments | « mojo/public/bindings/lib/fixed_buffer.h ('k') | mojo/public/bindings/lib/scratch_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698