| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_INTERFACE_PTR_INTERNAL_H_ | 5 #ifndef MOJO_PUBLIC_CPP_BINDINGS_LIB_INTERFACE_PTR_INTERNAL_H_ |
| 6 #define MOJO_PUBLIC_CPP_BINDINGS_LIB_INTERFACE_PTR_INTERNAL_H_ | 6 #define MOJO_PUBLIC_CPP_BINDINGS_LIB_INTERFACE_PTR_INTERNAL_H_ |
| 7 | 7 |
| 8 #include <assert.h> | 8 #include <assert.h> |
| 9 | 9 |
| 10 #include <algorithm> // For |std::swap()|. |
| 11 |
| 10 #include "mojo/public/cpp/bindings/lib/filter_chain.h" | 12 #include "mojo/public/cpp/bindings/lib/filter_chain.h" |
| 11 #include "mojo/public/cpp/bindings/lib/message_header_validator.h" | 13 #include "mojo/public/cpp/bindings/lib/message_header_validator.h" |
| 12 #include "mojo/public/cpp/bindings/lib/router.h" | 14 #include "mojo/public/cpp/bindings/lib/router.h" |
| 13 | 15 |
| 14 struct MojoAsyncWaiter; | 16 struct MojoAsyncWaiter; |
| 15 | 17 |
| 16 namespace mojo { | 18 namespace mojo { |
| 17 namespace internal { | 19 namespace internal { |
| 18 | 20 |
| 19 template <typename Interface> | 21 template <typename Interface> |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 ScopedMessagePipeHandle handle_; | 139 ScopedMessagePipeHandle handle_; |
| 138 const MojoAsyncWaiter* waiter_; | 140 const MojoAsyncWaiter* waiter_; |
| 139 | 141 |
| 140 MOJO_DISALLOW_COPY_AND_ASSIGN(InterfacePtrState); | 142 MOJO_DISALLOW_COPY_AND_ASSIGN(InterfacePtrState); |
| 141 }; | 143 }; |
| 142 | 144 |
| 143 } // namespace internal | 145 } // namespace internal |
| 144 } // namespace mojo | 146 } // namespace mojo |
| 145 | 147 |
| 146 #endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_INTERFACE_PTR_INTERNAL_H_ | 148 #endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_INTERFACE_PTR_INTERNAL_H_ |
| OLD | NEW |