| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 REMOTING_CLIENT_JNI_CHROMOTING_JNI_INSTANCE_H_ | 5 #ifndef REMOTING_CLIENT_JNI_CHROMOTING_JNI_INSTANCE_H_ |
| 6 #define REMOTING_CLIENT_JNI_CHROMOTING_JNI_INSTANCE_H_ | 6 #define REMOTING_CLIENT_JNI_CHROMOTING_JNI_INSTANCE_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 | 193 |
| 194 // The set of capabilities supported by the client. Accessed on the network | 194 // The set of capabilities supported by the client. Accessed on the network |
| 195 // thread. Once SetCapabilities() is called, this will contain the negotiated | 195 // thread. Once SetCapabilities() is called, this will contain the negotiated |
| 196 // set of capabilities for this remoting session. | 196 // set of capabilities for this remoting session. |
| 197 std::string capabilities_; | 197 std::string capabilities_; |
| 198 | 198 |
| 199 // Indicates whether the client is connected to the host. Used on network | 199 // Indicates whether the client is connected to the host. Used on network |
| 200 // thread. | 200 // thread. |
| 201 bool connected_ = false; | 201 bool connected_ = false; |
| 202 | 202 |
| 203 base::WeakPtr<ChromotingJniInstance> weak_ptr_; |
| 203 base::WeakPtrFactory<ChromotingJniInstance> weak_factory_; | 204 base::WeakPtrFactory<ChromotingJniInstance> weak_factory_; |
| 204 | 205 |
| 205 DISALLOW_COPY_AND_ASSIGN(ChromotingJniInstance); | 206 DISALLOW_COPY_AND_ASSIGN(ChromotingJniInstance); |
| 206 }; | 207 }; |
| 207 | 208 |
| 208 } // namespace remoting | 209 } // namespace remoting |
| 209 | 210 |
| 210 #endif // REMOTING_CLIENT_JNI_CHROMOTING_JNI_INSTANCE_H_ | 211 #endif // REMOTING_CLIENT_JNI_CHROMOTING_JNI_INSTANCE_H_ |
| OLD | NEW |