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

Unified Diff: chrome/common/media_router/dial_device_description.h

Issue 2745653008: [Media Router] Parse device description xml in utility process (Closed)
Patch Set: use mojo instead of IPC Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/media_router/dial_device_description.h
diff --git a/chrome/common/media_router/dial_device_description.h b/chrome/common/media_router/dial_device_description.h
new file mode 100644
index 0000000000000000000000000000000000000000..709c24ddb224f8dd0ea08a722e57048133df694c
--- /dev/null
+++ b/chrome/common/media_router/dial_device_description.h
@@ -0,0 +1,25 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+#ifndef CHROME_COMMON_MEDIA_ROUTER_DIAL_DEVICE_DESCRIPTION_H_
+#define CHROME_COMMON_MEDIA_ROUTER_DIAL_DEVICE_DESCRIPTION_H_
+
+#include <string>
+
+namespace media_router {
+
+// Represents a DIAL device description.
+struct DialDeviceDescription {
+ DialDeviceDescription();
+ DialDeviceDescription(const DialDeviceDescription& other);
+ ~DialDeviceDescription();
+
+ std::string unique_id;
+ std::string friendly_name;
+ std::string model_name;
+ std::string device_type;
+};
+
+} // namespace media_router
+
+#endif // CHROME_COMMON_MEDIA_ROUTER_DIAL_DEVICE_DESCRIPTION_H_

Powered by Google App Engine
This is Rietveld 408576698