| 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_ASSOCIATED_INTERFACE_PTR_INFO_H_ | 5 #ifndef MOJO_PUBLIC_CPP_BINDINGS_ASSOCIATED_INTERFACE_PTR_INFO_H_ |
| 6 #define MOJO_PUBLIC_CPP_BINDINGS_ASSOCIATED_INTERFACE_PTR_INFO_H_ | 6 #define MOJO_PUBLIC_CPP_BINDINGS_ASSOCIATED_INTERFACE_PTR_INFO_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include "base/macros.h" | 10 #include "base/macros.h" |
| 9 #include "mojo/public/cpp/bindings/lib/scoped_interface_endpoint_handle.h" | 11 #include "mojo/public/cpp/bindings/lib/scoped_interface_endpoint_handle.h" |
| 10 | 12 |
| 11 namespace mojo { | 13 namespace mojo { |
| 12 | 14 |
| 13 namespace internal { | 15 namespace internal { |
| 14 class AssociatedInterfacePtrInfoHelper; | 16 class AssociatedInterfacePtrInfoHelper; |
| 15 } | 17 } |
| 16 | 18 |
| 17 // AssociatedInterfacePtrInfo stores necessary information to construct an | 19 // AssociatedInterfacePtrInfo stores necessary information to construct an |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 static void SetHandle(AssociatedInterfacePtrInfo<Interface>* info, | 78 static void SetHandle(AssociatedInterfacePtrInfo<Interface>* info, |
| 77 ScopedInterfaceEndpointHandle handle) { | 79 ScopedInterfaceEndpointHandle handle) { |
| 78 info->handle_ = handle.Pass(); | 80 info->handle_ = handle.Pass(); |
| 79 } | 81 } |
| 80 }; | 82 }; |
| 81 | 83 |
| 82 } // namespace internal | 84 } // namespace internal |
| 83 } // namespace mojo | 85 } // namespace mojo |
| 84 | 86 |
| 85 #endif // MOJO_PUBLIC_CPP_BINDINGS_ASSOCIATED_INTERFACE_PTR_INFO_H_ | 87 #endif // MOJO_PUBLIC_CPP_BINDINGS_ASSOCIATED_INTERFACE_PTR_INFO_H_ |
| OLD | NEW |