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 #include "mojo/public/bindings/lib/connector.h" | 5 #include "mojo/public/bindings/lib/connector.h" |
6 | 6 |
7 #include <assert.h> | 7 #include <assert.h> |
8 #include <stdlib.h> | 8 #include <stdlib.h> |
9 | 9 |
10 #include "mojo/public/bindings/error_handler.h" | 10 #include "mojo/public/cpp/bindings/error_handler.h" |
11 | 11 |
12 namespace mojo { | 12 namespace mojo { |
13 namespace internal { | 13 namespace internal { |
14 | 14 |
15 // ---------------------------------------------------------------------------- | 15 // ---------------------------------------------------------------------------- |
16 | 16 |
17 Connector::Connector(ScopedMessagePipeHandle message_pipe, | 17 Connector::Connector(ScopedMessagePipeHandle message_pipe, |
18 MojoAsyncWaiter* waiter) | 18 MojoAsyncWaiter* waiter) |
19 : error_handler_(NULL), | 19 : error_handler_(NULL), |
20 waiter_(waiter), | 20 waiter_(waiter), |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 } | 121 } |
122 if (rv != MOJO_RESULT_OK) { | 122 if (rv != MOJO_RESULT_OK) { |
123 error_ = true; | 123 error_ = true; |
124 break; | 124 break; |
125 } | 125 } |
126 } | 126 } |
127 } | 127 } |
128 | 128 |
129 } // namespace internal | 129 } // namespace internal |
130 } // namespace mojo | 130 } // namespace mojo |
OLD | NEW |