OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_CPP_BINDINGS_TESTS_ROUTER_TEST_UTIL_H_ | 5 #ifndef MOJO_PUBLIC_CPP_BINDINGS_TESTS_ROUTER_TEST_UTIL_H_ |
6 #define MOJO_PUBLIC_CPP_BINDINGS_TESTS_ROUTER_TEST_UTIL_H_ | 6 #define MOJO_PUBLIC_CPP_BINDINGS_TESTS_ROUTER_TEST_UTIL_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "mojo/public/cpp/bindings/message.h" | 12 #include "mojo/public/cpp/bindings/message.h" |
11 | 13 |
12 namespace mojo { | 14 namespace mojo { |
13 namespace test { | 15 namespace test { |
14 | 16 |
15 class MessageQueue; | 17 class MessageQueue; |
16 | 18 |
17 void AllocRequestMessage(uint32_t name, const char* text, Message* message); | 19 void AllocRequestMessage(uint32_t name, const char* text, Message* message); |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 MessageReceiverWithStatus* responder_; | 74 MessageReceiverWithStatus* responder_; |
73 uint32_t name_; | 75 uint32_t name_; |
74 uint64_t request_id_; | 76 uint64_t request_id_; |
75 std::string request_string_; | 77 std::string request_string_; |
76 }; | 78 }; |
77 | 79 |
78 } // namespace test | 80 } // namespace test |
79 } // namespace mojo | 81 } // namespace mojo |
80 | 82 |
81 #endif // MOJO_PUBLIC_CPP_BINDINGS_TESTS_ROUTER_TEST_UTIL_H_ | 83 #endif // MOJO_PUBLIC_CPP_BINDINGS_TESTS_ROUTER_TEST_UTIL_H_ |
OLD | NEW |