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

Side by Side Diff: chrome/browser/local_discovery/device_description.h

Issue 318893002: Added DeviceDescription::version with Privet version. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Thu 06/05/2014 11:30:37.29 Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/local_discovery/device_description.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 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 CHROME_BROWSER_LOCAL_DISCOVERY_DEVICE_DESCRIPTION_H_ 5 #ifndef CHROME_BROWSER_LOCAL_DISCOVERY_DEVICE_DESCRIPTION_H_
6 #define CHROME_BROWSER_LOCAL_DISCOVERY_DEVICE_DESCRIPTION_H_ 6 #define CHROME_BROWSER_LOCAL_DISCOVERY_DEVICE_DESCRIPTION_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 20 matching lines...) Expand all
31 const ServiceDescription& service_description); 31 const ServiceDescription& service_description);
32 32
33 // Display attributes 33 // Display attributes
34 std::string name; 34 std::string name;
35 std::string description; 35 std::string description;
36 36
37 // Functional attributes 37 // Functional attributes
38 std::string url; 38 std::string url;
39 std::string id; 39 std::string id;
40 std::string type; 40 std::string type;
41 int version;
41 ConnectionState connection_state; 42 ConnectionState connection_state;
42 43
43 // Attributes related to local HTTP 44 // Attributes related to local HTTP
44 net::HostPortPair address; 45 net::HostPortPair address;
45 net::IPAddressNumber ip_address; 46 net::IPAddressNumber ip_address;
46 base::Time last_seen; 47 base::Time last_seen;
47 }; 48 };
48 49
49 } // namespace local_discovery 50 } // namespace local_discovery
50 51
51 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_DEVICE_DESCRIPTION_H_ 52 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_DEVICE_DESCRIPTION_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/local_discovery/device_description.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698