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

Side by Side Diff: chrome/browser/extensions/api/dial/dial_device_data.h

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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_EXTENSIONS_API_DIAL_DIAL_DEVICE_DATA_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_DIAL_DIAL_DEVICE_DATA_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_DIAL_DIAL_DEVICE_DATA_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_DIAL_DIAL_DEVICE_DATA_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 // The time that the most recent response was received. 85 // The time that the most recent response was received.
86 base::Time response_time_; 86 base::Time response_time_;
87 87
88 // Optional (-1 means unset). 88 // Optional (-1 means unset).
89 int max_age_; 89 int max_age_;
90 90
91 // Optional (-1 means unset). 91 // Optional (-1 means unset).
92 int config_id_; 92 int config_id_;
93 }; 93 };
94 94
95 struct DialDeviceDescriptionData {
96 public:
97 DialDeviceDescriptionData() = default;
98 DialDeviceDescriptionData(const std::string& device_description,
99 const GURL& app_url);
100
101 std::string device_description;
102 GURL app_url;
103 };
104
95 } // namespace dial 105 } // namespace dial
96 } // namespace api 106 } // namespace api
97 } // namespace extensions 107 } // namespace extensions
98 108
99 #endif // CHROME_BROWSER_EXTENSIONS_API_DIAL_DIAL_DEVICE_DATA_H_ 109 #endif // CHROME_BROWSER_EXTENSIONS_API_DIAL_DIAL_DEVICE_DATA_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/dial/dial_apitest.cc ('k') | chrome/browser/extensions/api/dial/dial_device_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698