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

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 imcheng@ comments Created 3 years, 12 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 bd9f561bbcf3c3037810a68d39d965c6cb483591..42afbecb9d4ac78123da6c71c2f4ac4b8b5268b9 100644
--- a/chrome/browser/extensions/api/dial/dial_device_data.h
+++ b/chrome/browser/extensions/api/dial/dial_device_data.h
@@ -17,8 +17,8 @@ namespace extensions {
namespace api {
namespace dial {
struct DialDevice;
-} // namespace api
} // namespace dial
+} // namespace api
// Dial device information that is used within the DialService and Registry on
// the IO thread. It is updated as new information arrives and a list of
@@ -94,6 +94,18 @@ class DialDeviceData {
int config_id_;
};
+class DialDeviceDescription {
+ public:
+ DialDeviceDescription() = default;
+ DialDeviceDescription(const std::string& device_description,
+ const GURL& app_url);
+
+ ~DialDeviceDescription() = default;
+
+ std::string device_description;
+ GURL app_url;
+};
+
} // namespace extensions
#endif // CHROME_BROWSER_EXTENSIONS_API_DIAL_DIAL_DEVICE_DATA_H_

Powered by Google App Engine
This is Rietveld 408576698