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

Side by Side Diff: remoting/ios/facade/host_info.h

Issue 2910513002: [CRD iOS] Fix telemetry issues (Closed)
Patch Set: Resolve feedback Created 3 years, 6 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/ios/domain/host_info.mm ('k') | remoting/ios/facade/host_info.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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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_IOS_FACADE_HOST_INFO_H_ 5 #ifndef REMOTING_IOS_FACADE_HOST_INFO_H_
6 #define REMOTING_IOS_FACADE_HOST_INFO_H_ 6 #define REMOTING_IOS_FACADE_HOST_INFO_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 12 matching lines...) Expand all
23 23
24 // Returns true if |host_info| is valid and initializes HostInfo. 24 // Returns true if |host_info| is valid and initializes HostInfo.
25 bool ParseHostInfo(const base::DictionaryValue& host_info); 25 bool ParseHostInfo(const base::DictionaryValue& host_info);
26 26
27 // Returns true if the chromoting host is ready to accept connections. 27 // Returns true if the chromoting host is ready to accept connections.
28 bool IsReadyForConnection() const; 28 bool IsReadyForConnection() const;
29 29
30 std::string host_id; 30 std::string host_id;
31 std::string host_jid; 31 std::string host_jid;
32 std::string host_name; 32 std::string host_name;
33 std::string host_os;
34 std::string host_os_version;
35 std::string host_version;
33 HostStatus status = kHostStatusOffline; 36 HostStatus status = kHostStatusOffline;
34 std::string offline_reason; 37 std::string offline_reason;
35 std::string public_key; 38 std::string public_key;
36 std::vector<std::string> token_url_patterns; 39 std::vector<std::string> token_url_patterns;
37 }; 40 };
38 41
39 } // namespace remoting 42 } // namespace remoting
40 43
41 #endif // REMOTING_IOS_FACADE_HOST_INFO_H_ 44 #endif // REMOTING_IOS_FACADE_HOST_INFO_H_
OLDNEW
« no previous file with comments | « remoting/ios/domain/host_info.mm ('k') | remoting/ios/facade/host_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698