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

Side by Side Diff: chrome/common/media_router/mojo/dial_device_description_parser.mojom

Issue 2771413003: Move c/b/media/router/mojo/*.mojom to chrome/common/media_router/mojo/*.mojom (Closed)
Patch Set: Rebase Created 3 years, 8 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
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 // DIAL device description parsing interface provided by the utility process and 5 // DIAL device description parsing interface provided by the utility process and
6 // exposed by mojo policy control to the chrome browser process. 6 // exposed by mojo policy control to the chrome browser process.
7 7
8 module chrome.mojom; 8 module chrome.mojom;
9 9
10 struct DialDeviceDescription { 10 struct DialDeviceDescription {
(...skipping 14 matching lines...) Expand all
25 // Parses |device_description_xml_data| to get device description data. If 25 // Parses |device_description_xml_data| to get device description data. If
26 // parsing succeeds, invokes callback with valid |device_description|. 26 // parsing succeeds, invokes callback with valid |device_description|.
27 // Otherwise invokes callback with nullptr. 27 // Otherwise invokes callback with nullptr.
28 // |device_description|: device description object. Empty if parsing fails. 28 // |device_description|: device description object. Empty if parsing fails.
29 // Spec for DIAL device description: 29 // Spec for DIAL device description:
30 // http://upnp.org/specs/arch/UPnP-arch-DeviceArchitecture-v2.0.pdf 30 // http://upnp.org/specs/arch/UPnP-arch-DeviceArchitecture-v2.0.pdf
31 // Section 2.3 Device description. 31 // Section 2.3 Device description.
32 ParseDialDeviceDescription(string device_description_xml_data) 32 ParseDialDeviceDescription(string device_description_xml_data)
33 => (DialDeviceDescription? device_description); 33 => (DialDeviceDescription? device_description);
34 }; 34 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698