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 THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_CPP_BINDINGS_LIB_INTERFACE_PTR_INTERNAL
_H_ | 5 #ifndef MOJO_PUBLIC_CPP_BINDINGS_LIB_INTERFACE_PTR_INTERNAL_H_ |
6 #define THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_CPP_BINDINGS_LIB_INTERFACE_PTR_INTERNAL
_H_ | 6 #define MOJO_PUBLIC_CPP_BINDINGS_LIB_INTERFACE_PTR_INTERNAL_H_ |
7 | 7 |
8 #include <algorithm> // For |std::swap()|. | 8 #include <algorithm> // For |std::swap()|. |
9 | 9 |
10 #include "third_party/mojo/src/mojo/public/cpp/bindings/callback.h" | 10 #include "mojo/public/cpp/bindings/callback.h" |
11 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_ptr_info.h" | 11 #include "mojo/public/cpp/bindings/interface_ptr_info.h" |
12 #include "third_party/mojo/src/mojo/public/cpp/bindings/lib/control_message_prox
y.h" | 12 #include "mojo/public/cpp/bindings/lib/control_message_proxy.h" |
13 #include "third_party/mojo/src/mojo/public/cpp/bindings/lib/filter_chain.h" | 13 #include "mojo/public/cpp/bindings/lib/filter_chain.h" |
14 #include "third_party/mojo/src/mojo/public/cpp/bindings/lib/message_header_valid
ator.h" | 14 #include "mojo/public/cpp/bindings/lib/message_header_validator.h" |
15 #include "third_party/mojo/src/mojo/public/cpp/bindings/lib/router.h" | 15 #include "mojo/public/cpp/bindings/lib/router.h" |
16 #include "third_party/mojo/src/mojo/public/cpp/environment/logging.h" | 16 #include "mojo/public/cpp/environment/logging.h" |
17 | 17 |
18 struct MojoAsyncWaiter; | 18 struct MojoAsyncWaiter; |
19 | 19 |
20 namespace mojo { | 20 namespace mojo { |
21 namespace internal { | 21 namespace internal { |
22 | 22 |
23 template <typename Interface> | 23 template <typename Interface> |
24 class InterfacePtrState { | 24 class InterfacePtrState { |
25 public: | 25 public: |
26 InterfacePtrState() | 26 InterfacePtrState() |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 const MojoAsyncWaiter* waiter_; | 164 const MojoAsyncWaiter* waiter_; |
165 | 165 |
166 uint32_t version_; | 166 uint32_t version_; |
167 | 167 |
168 MOJO_DISALLOW_COPY_AND_ASSIGN(InterfacePtrState); | 168 MOJO_DISALLOW_COPY_AND_ASSIGN(InterfacePtrState); |
169 }; | 169 }; |
170 | 170 |
171 } // namespace internal | 171 } // namespace internal |
172 } // namespace mojo | 172 } // namespace mojo |
173 | 173 |
174 #endif // THIRD_PARTY_MOJO_SRC_MOJO_PUBLIC_CPP_BINDINGS_LIB_INTERFACE_PTR_INTER
NAL_H_ | 174 #endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_INTERFACE_PTR_INTERNAL_H_ |
OLD | NEW |