| 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_LIB_MESSAGE_BUILDER_H_ | 5 #ifndef MOJO_PUBLIC_CPP_BINDINGS_LIB_MESSAGE_BUILDER_H_ |
| 6 #define THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_CPP_BINDINGS_LIB_MESSAGE_BUILDER_H_ | 6 #define MOJO_PUBLIC_CPP_BINDINGS_LIB_MESSAGE_BUILDER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "third_party/mojo/src/mojo/public/cpp/bindings/lib/fixed_buffer.h" | 10 #include "mojo/public/cpp/bindings/lib/fixed_buffer.h" |
| 11 #include "third_party/mojo/src/mojo/public/cpp/bindings/lib/message_internal.h" | 11 #include "mojo/public/cpp/bindings/lib/message_internal.h" |
| 12 #include "third_party/mojo/src/mojo/public/cpp/bindings/message.h" | 12 #include "mojo/public/cpp/bindings/message.h" |
| 13 | 13 |
| 14 namespace mojo { | 14 namespace mojo { |
| 15 class Message; | 15 class Message; |
| 16 | 16 |
| 17 namespace internal { | 17 namespace internal { |
| 18 | 18 |
| 19 class MessageBuilder { | 19 class MessageBuilder { |
| 20 public: | 20 public: |
| 21 MessageBuilder(uint32_t name, size_t payload_size); | 21 MessageBuilder(uint32_t name, size_t payload_size); |
| 22 ~MessageBuilder(); | 22 ~MessageBuilder(); |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 uint64_t request_id) | 58 uint64_t request_id) |
| 59 : MessageWithRequestIDBuilder(name, | 59 : MessageWithRequestIDBuilder(name, |
| 60 payload_size, | 60 payload_size, |
| 61 kMessageIsResponse, | 61 kMessageIsResponse, |
| 62 request_id) {} | 62 request_id) {} |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 } // namespace internal | 65 } // namespace internal |
| 66 } // namespace mojo | 66 } // namespace mojo |
| 67 | 67 |
| 68 #endif // THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_CPP_BINDINGS_LIB_MESSAGE_BUILDER_H_ | 68 #endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_MESSAGE_BUILDER_H_ |
| OLD | NEW |