| OLD | NEW |
| 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 THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_CPP_BINDINGS_TESTS_MESSAGE_QUEUE_H_ | 5 #ifndef MOJO_PUBLIC_CPP_BINDINGS_TESTS_MESSAGE_QUEUE_H_ |
| 6 #define THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_CPP_BINDINGS_TESTS_MESSAGE_QUEUE_H_ | 6 #define MOJO_PUBLIC_CPP_BINDINGS_TESTS_MESSAGE_QUEUE_H_ |
| 7 | 7 |
| 8 #include <queue> | 8 #include <queue> |
| 9 | 9 |
| 10 #include "third_party/mojo/src/mojo/public/cpp/system/macros.h" | 10 #include "mojo/public/cpp/system/macros.h" |
| 11 | 11 |
| 12 namespace mojo { | 12 namespace mojo { |
| 13 class Message; | 13 class Message; |
| 14 | 14 |
| 15 namespace test { | 15 namespace test { |
| 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 12 matching lines...) Expand all Loading... |
| 33 void Pop(); | 33 void Pop(); |
| 34 | 34 |
| 35 std::queue<Message*> queue_; | 35 std::queue<Message*> queue_; |
| 36 | 36 |
| 37 MOJO_DISALLOW_COPY_AND_ASSIGN(MessageQueue); | 37 MOJO_DISALLOW_COPY_AND_ASSIGN(MessageQueue); |
| 38 }; | 38 }; |
| 39 | 39 |
| 40 } // namespace test | 40 } // namespace test |
| 41 } // namespace mojo | 41 } // namespace mojo |
| 42 | 42 |
| 43 #endif // THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_CPP_BINDINGS_TESTS_MESSAGE_QUEUE_H_ | 43 #endif // MOJO_PUBLIC_CPP_BINDINGS_TESTS_MESSAGE_QUEUE_H_ |
| OLD | NEW |