OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_HOST_HEARTBEAT_SENDER_H_ | 5 #ifndef REMOTING_HOST_HEARTBEAT_SENDER_H_ |
6 #define REMOTING_HOST_HEARTBEAT_SENDER_H_ | 6 #define REMOTING_HOST_HEARTBEAT_SENDER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/scoped_ptr.h" | 10 #include "base/scoped_ptr.h" |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 buzz::XmlElement* CreateSignature(); | 77 buzz::XmlElement* CreateSignature(); |
78 | 78 |
79 void ProcessResponse(const buzz::XmlElement* response); | 79 void ProcessResponse(const buzz::XmlElement* response); |
80 | 80 |
81 State state_; | 81 State state_; |
82 scoped_refptr<MutableHostConfig> config_; | 82 scoped_refptr<MutableHostConfig> config_; |
83 JingleClient* jingle_client_; | 83 JingleClient* jingle_client_; |
84 scoped_ptr<IqRequest> request_; | 84 scoped_ptr<IqRequest> request_; |
85 std::string host_id_; | 85 std::string host_id_; |
86 HostKeyPair key_pair_; | 86 HostKeyPair key_pair_; |
| 87 |
| 88 DISALLOW_COPY_AND_ASSIGN(HeartbeatSender); |
87 }; | 89 }; |
88 | 90 |
89 } // namespace remoting | 91 } // namespace remoting |
90 | 92 |
91 #endif // REMOTING_HOST_HEARTBEAT_SENDER_H_ | 93 #endif // REMOTING_HOST_HEARTBEAT_SENDER_H_ |
OLD | NEW |