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

Side by Side Diff: chrome/browser/media/router/discovery/dial/parsed_dial_device_description.h

Issue 2701633002: [Media Router] Add DialMediaSinkService and DeviceDescriptionService (Closed)
Patch Set: fix chromeos compile error Created 3 years, 7 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 2017 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_MEDIA_ROUTER_DISCOVERY_DIAL_PARSED_DIAL_DEVICE_DESCRIPTIO N_H_
6 #define CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_DIAL_PARSED_DIAL_DEVICE_DESCRIPTIO N_H_
7
8 #include <string>
9 #include "url/gurl.h"
10
11 namespace media_router {
12
13 struct ParsedDialDeviceDescription {
14 ParsedDialDeviceDescription();
15 ParsedDialDeviceDescription(const std::string& unique_id,
16 const std::string& friendly_name,
17 const GURL& app_url);
18 ParsedDialDeviceDescription(const ParsedDialDeviceDescription& other);
19 ~ParsedDialDeviceDescription();
20
21 ParsedDialDeviceDescription& operator=(
22 const ParsedDialDeviceDescription& other);
23
24 bool operator==(const ParsedDialDeviceDescription& other) const;
25
26 // UUID (UDN).
27 std::string unique_id;
28
29 // Short user-friendly device name.
30 std::string friendly_name;
31
32 // Device model name.
33 std::string model_name;
34
35 // The DIAL application URL (used to launch DIAL applications).
36 GURL app_url;
37 };
38
39 } // namespace media_router
40
41 #endif // CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_DIAL_PARSED_DIAL_DEVICE_DESCRIP TION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698