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 class DialDeviceDescriptionData { | |
96 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.
| |
97 DialDeviceDescriptionData() = default; | |
98 DialDeviceDescriptionData(const std::string& device_description, | |
99 const GURL& app_url); | |
100 | |
101 ~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.
| |
102 | |
103 std::string device_description; | |
104 GURL app_url; | |
105 }; | |
106 | |
95 } // namespace dial | 107 } // namespace dial |
96 } // namespace api | 108 } // namespace api |
97 } // namespace extensions | 109 } // namespace extensions |
98 | 110 |
99 #endif // CHROME_BROWSER_EXTENSIONS_API_DIAL_DIAL_DEVICE_DATA_H_ | 111 #endif // CHROME_BROWSER_EXTENSIONS_API_DIAL_DIAL_DEVICE_DATA_H_ |
OLD | NEW |