OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |