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

Unified Diff: chrome/browser/extensions/api/dial/dial_device_data.h

Issue 2583853004: [chrome.dial] Adds chrome.dial.fetchDeviceDecription API. (Closed)
Patch Set: Respond to lazyboy@ comments. Rebase w/namespace changes Created 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/dial/dial_device_data.h
diff --git a/chrome/browser/extensions/api/dial/dial_device_data.h b/chrome/browser/extensions/api/dial/dial_device_data.h
index 87eacffc036efc893cf8210bbf3f0a6946f7de9d..50b7404e83620a9333b1cb9b17f40af2678da496 100644
--- a/chrome/browser/extensions/api/dial/dial_device_data.h
+++ b/chrome/browser/extensions/api/dial/dial_device_data.h
@@ -92,6 +92,18 @@ class DialDeviceData {
int config_id_;
};
+class DialDeviceDescriptionData {
+ public:
Wez 2017/01/05 22:29:24 This should be a struct, not a class.
mark a. foltz 2017/01/09 21:38:08 Done.
+ DialDeviceDescriptionData() = default;
+ DialDeviceDescriptionData(const std::string& device_description,
+ const GURL& app_url);
+
+ ~DialDeviceDescriptionData() = default;
Wez 2017/01/05 22:29:25 nit: Do you need to explicitly specify this?
mark a. foltz 2017/01/09 21:38:08 Done.
+
+ std::string device_description;
+ GURL app_url;
+};
+
} // namespace dial
} // namespace api
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698