| 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 MOJO_PUBLIC_BINDINGS_LIB_CONNECTOR_H_ | 5 #ifndef MOJO_PUBLIC_BINDINGS_LIB_CONNECTOR_H_ |
| 6 #define MOJO_PUBLIC_BINDINGS_LIB_CONNECTOR_H_ | 6 #define MOJO_PUBLIC_BINDINGS_LIB_CONNECTOR_H_ |
| 7 | 7 |
| 8 #include "mojo/public/bindings/lib/message_queue.h" | 8 #include "mojo/public/bindings/lib/message_queue.h" |
| 9 #include "mojo/public/bindings/message.h" | 9 #include "mojo/public/cpp/bindings/message.h" |
| 10 #include "mojo/public/cpp/environment/default_async_waiter.h" | 10 #include "mojo/public/cpp/environment/default_async_waiter.h" |
| 11 #include "mojo/public/cpp/system/core.h" | 11 #include "mojo/public/cpp/system/core.h" |
| 12 | 12 |
| 13 namespace mojo { | 13 namespace mojo { |
| 14 class ErrorHandler; | 14 class ErrorHandler; |
| 15 | 15 |
| 16 namespace internal { | 16 namespace internal { |
| 17 | 17 |
| 18 // The Connector class is responsible for performing read/write operations on a | 18 // The Connector class is responsible for performing read/write operations on a |
| 19 // MessagePipe. It writes messages it receives through the MessageReceiver | 19 // MessagePipe. It writes messages it receives through the MessageReceiver |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 bool error_; | 71 bool error_; |
| 72 bool drop_writes_; | 72 bool drop_writes_; |
| 73 | 73 |
| 74 MOJO_DISALLOW_COPY_AND_ASSIGN(Connector); | 74 MOJO_DISALLOW_COPY_AND_ASSIGN(Connector); |
| 75 }; | 75 }; |
| 76 | 76 |
| 77 } // namespace internal | 77 } // namespace internal |
| 78 } // namespace mojo | 78 } // namespace mojo |
| 79 | 79 |
| 80 #endif // MOJO_PUBLIC_BINDINGS_LIB_CONNECTOR_H_ | 80 #endif // MOJO_PUBLIC_BINDINGS_LIB_CONNECTOR_H_ |
| OLD | NEW |