OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef MOJO_PUBLIC_CPP_BINDINGS_STRONG_ASSOCIATED_BINDING_SET_H_ |
| 6 #define MOJO_PUBLIC_CPP_BINDINGS_STRONG_ASSOCIATED_BINDING_SET_H_ |
| 7 |
| 8 #include "mojo/public/cpp/bindings/associated_binding.h" |
| 9 #include "mojo/public/cpp/bindings/associated_binding_set.h" |
| 10 #include "mojo/public/cpp/bindings/associated_interface_ptr.h" |
| 11 #include "mojo/public/cpp/bindings/associated_interface_request.h" |
| 12 #include "mojo/public/cpp/bindings/binding_set.h" |
| 13 #include "mojo/public/cpp/bindings/unique_ptr_impl_ref_traits.h" |
| 14 |
| 15 namespace mojo { |
| 16 |
| 17 template <typename Interface, typename ContextType = void> |
| 18 using StrongAssociatedBindingSet = BindingSetBase< |
| 19 Interface, |
| 20 AssociatedBinding<Interface, UniquePtrImplRefTraits<Interface>>, |
| 21 ContextType>; |
| 22 |
| 23 } // namespace mojo |
| 24 |
| 25 #endif // MOJO_PUBLIC_CPP_BINDINGS_STRONG_ASSOCIATED_BINDING_SET_H_ |
OLD | NEW |