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_LIB_ASSOCIATED_INTERFACE_PTR_INTERNAL_H_ | 5 #ifndef MOJO_PUBLIC_CPP_BINDINGS_LIB_ASSOCIATED_INTERFACE_PTR_STATE_H_ |
6 #define MOJO_PUBLIC_CPP_BINDINGS_LIB_ASSOCIATED_INTERFACE_PTR_INTERNAL_H_ | 6 #define MOJO_PUBLIC_CPP_BINDINGS_LIB_ASSOCIATED_INTERFACE_PTR_STATE_H_ |
7 | 7 |
8 #include <algorithm> // For |std::swap()|. | 8 #include <algorithm> // For |std::swap()|. |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "mojo/public/cpp/bindings/associated_group.h" | 12 #include "mojo/public/cpp/bindings/associated_group.h" |
13 #include "mojo/public/cpp/bindings/associated_interface_ptr_info.h" | 13 #include "mojo/public/cpp/bindings/associated_interface_ptr_info.h" |
14 #include "mojo/public/cpp/bindings/callback.h" | 14 #include "mojo/public/cpp/bindings/callback.h" |
15 #include "mojo/public/cpp/bindings/lib/control_message_proxy.h" | 15 #include "mojo/public/cpp/bindings/lib/control_message_proxy.h" |
16 #include "mojo/public/cpp/bindings/lib/interface_endpoint_client.h" | 16 #include "mojo/public/cpp/bindings/lib/interface_endpoint_client.h" |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 scoped_ptr<Proxy> proxy_; | 122 scoped_ptr<Proxy> proxy_; |
123 | 123 |
124 uint32_t version_; | 124 uint32_t version_; |
125 | 125 |
126 DISALLOW_COPY_AND_ASSIGN(AssociatedInterfacePtrState); | 126 DISALLOW_COPY_AND_ASSIGN(AssociatedInterfacePtrState); |
127 }; | 127 }; |
128 | 128 |
129 } // namespace internal | 129 } // namespace internal |
130 } // namespace mojo | 130 } // namespace mojo |
131 | 131 |
132 #endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_ASSOCIATED_INTERFACE_PTR_INTERNAL_H_ | 132 #endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_ASSOCIATED_INTERFACE_PTR_STATE_H_ |
OLD | NEW |