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 NET_DNS_DNS_CONFIG_SERVICE_H_ | 5 #ifndef NET_DNS_DNS_CONFIG_SERVICE_H_ |
6 #define NET_DNS_DNS_CONFIG_SERVICE_H_ | 6 #define NET_DNS_DNS_CONFIG_SERVICE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 // Set when |timer_| expires. | 197 // Set when |timer_| expires. |
198 bool last_sent_empty_; | 198 bool last_sent_empty_; |
199 | 199 |
200 // Initialized and updated on Invalidate* call. | 200 // Initialized and updated on Invalidate* call. |
201 base::TimeTicks last_invalidate_config_time_; | 201 base::TimeTicks last_invalidate_config_time_; |
202 base::TimeTicks last_invalidate_hosts_time_; | 202 base::TimeTicks last_invalidate_hosts_time_; |
203 // Initialized and updated when |timer_| expires. | 203 // Initialized and updated when |timer_| expires. |
204 base::TimeTicks last_sent_empty_time_; | 204 base::TimeTicks last_sent_empty_time_; |
205 | 205 |
206 // Started in Invalidate*, cleared in On*Read. | 206 // Started in Invalidate*, cleared in On*Read. |
207 base::OneShotTimer<DnsConfigService> timer_; | 207 base::OneShotTimer timer_; |
208 | 208 |
209 NameServerClassifier classifier_; | 209 NameServerClassifier classifier_; |
210 | 210 |
211 DISALLOW_COPY_AND_ASSIGN(DnsConfigService); | 211 DISALLOW_COPY_AND_ASSIGN(DnsConfigService); |
212 }; | 212 }; |
213 | 213 |
214 } // namespace net | 214 } // namespace net |
215 | 215 |
216 #endif // NET_DNS_DNS_CONFIG_SERVICE_H_ | 216 #endif // NET_DNS_DNS_CONFIG_SERVICE_H_ |
OLD | NEW |