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

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

Issue 1553333002: Move cloud print specific files out of local_discovery (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@moveprn
Patch Set: Created 4 years, 11 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_LOCAL_DISCOVERY_DEVICE_DESCRIPTION_H_
6 #define CHROME_BROWSER_LOCAL_DISCOVERY_DEVICE_DESCRIPTION_H_
7
8 #include <string>
9
10 #include "base/time/time.h"
11 #include "net/base/host_port_pair.h"
12
13 namespace local_discovery {
14
15 struct ServiceDescription;
16
17 struct DeviceDescription {
18 DeviceDescription();
19 explicit DeviceDescription(const ServiceDescription& service_description);
20 ~DeviceDescription();
21
22 bool IsValid() const;
23
24 // Display attributes
25 std::string name;
26 std::string description;
27
28 // Functional attributes
29 std::string id;
30 std::string type;
31 int version;
32
33 // Attributes related to local HTTP
34 net::HostPortPair address;
35 };
36
37 } // namespace local_discovery
38
39 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_DEVICE_DESCRIPTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698