Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(783)

Side by Side Diff: remoting/host/heartbeat_sender.h

Issue 3303001: Basic user access check for chromoting host. (Closed)
Patch Set: - Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « remoting/host/chromoting_host.cc ('k') | remoting/host/heartbeat_sender_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « remoting/host/chromoting_host.cc ('k') | remoting/host/heartbeat_sender_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698