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_LIB_PIPE_CONTROL_MESSAGE_HANDLER_H_ | 5 #ifndef MOJO_PUBLIC_CPP_BINDINGS_LIB_PIPE_CONTROL_MESSAGE_HANDLER_H_ |
6 #define MOJO_PUBLIC_CPP_BINDINGS_LIB_PIPE_CONTROL_MESSAGE_HANDLER_H_ | 6 #define MOJO_PUBLIC_CPP_BINDINGS_LIB_PIPE_CONTROL_MESSAGE_HANDLER_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "mojo/public/cpp/bindings/lib/interface_id.h" | 9 #include "mojo/public/cpp/bindings/interface_id.h" |
10 #include "mojo/public/cpp/bindings/lib/serialization_context.h" | 10 #include "mojo/public/cpp/bindings/lib/serialization_context.h" |
11 #include "mojo/public/cpp/bindings/message.h" | 11 #include "mojo/public/cpp/bindings/message.h" |
12 | 12 |
13 namespace mojo { | 13 namespace mojo { |
14 namespace internal { | 14 namespace internal { |
15 | 15 |
16 class PipeControlMessageHandlerDelegate; | 16 class PipeControlMessageHandlerDelegate; |
17 | 17 |
18 // Handler for messages defined in pipe_control_messages.mojom. | 18 // Handler for messages defined in pipe_control_messages.mojom. |
19 class PipeControlMessageHandler : public MessageReceiver { | 19 class PipeControlMessageHandler : public MessageReceiver { |
(...skipping 26 matching lines...) Expand all Loading... |
46 PipeControlMessageHandlerDelegate* const delegate_; | 46 PipeControlMessageHandlerDelegate* const delegate_; |
47 SerializationContext context_; | 47 SerializationContext context_; |
48 | 48 |
49 DISALLOW_COPY_AND_ASSIGN(PipeControlMessageHandler); | 49 DISALLOW_COPY_AND_ASSIGN(PipeControlMessageHandler); |
50 }; | 50 }; |
51 | 51 |
52 } // namespace internal | 52 } // namespace internal |
53 } // namespace mojo | 53 } // namespace mojo |
54 | 54 |
55 #endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_PIPE_CONTROL_MESSAGE_HANDLER_H_ | 55 #endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_PIPE_CONTROL_MESSAGE_HANDLER_H_ |
OLD | NEW |