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

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

Issue 2583853004: [chrome.dial] Adds chrome.dial.fetchDeviceDecription API. (Closed)
Patch Set: Rebase and fix typo. 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.cc
diff --git a/chrome/browser/extensions/api/dial/dial_device_data.cc b/chrome/browser/extensions/api/dial/dial_device_data.cc
index 8c93aceabce4d1ef3c59a9933ea3305b366d30ea..1db2e5c38b51a53b82e63598c7b469aaf90acdc9 100644
--- a/chrome/browser/extensions/api/dial/dial_device_data.cc
+++ b/chrome/browser/extensions/api/dial/dial_device_data.cc
@@ -57,6 +57,11 @@ void DialDeviceData::FillDialDevice(api::dial::DialDevice* device) const {
device->config_id.reset(new int(config_id_));
}
+DialDeviceDescriptionData::DialDeviceDescriptionData(
+ const std::string& device_description,
+ const GURL& app_url)
+ : device_description(device_description), app_url(app_url) {}
+
} // namespace dial
} // namespace api
} // namespace extensions
« no previous file with comments | « chrome/browser/extensions/api/dial/dial_device_data.h ('k') | chrome/browser/extensions/api/dial/dial_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698