OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROMEOS_TIMEZONE_TIMEZONE_RESOLVER_H_ | 5 #ifndef CHROMEOS_TIMEZONE_TIMEZONE_RESOLVER_H_ |
6 #define CHROMEOS_TIMEZONE_TIMEZONE_RESOLVER_H_ | 6 #define CHROMEOS_TIMEZONE_TIMEZONE_RESOLVER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 | 92 |
93 scoped_refptr<net::URLRequestContextGetter> context_; | 93 scoped_refptr<net::URLRequestContextGetter> context_; |
94 const GURL url_; | 94 const GURL url_; |
95 | 95 |
96 const ApplyTimeZoneCallback apply_timezone_; | 96 const ApplyTimeZoneCallback apply_timezone_; |
97 const DelayNetworkCallClosure delay_network_call_; | 97 const DelayNetworkCallClosure delay_network_call_; |
98 PrefService* local_state_; | 98 PrefService* local_state_; |
99 | 99 |
100 std::unique_ptr<TimeZoneResolverImpl> implementation_; | 100 std::unique_ptr<TimeZoneResolverImpl> implementation_; |
101 | 101 |
102 bool send_wifi_data_to_geolocation_api_; | |
103 | |
104 base::ThreadChecker thread_checker_; | 102 base::ThreadChecker thread_checker_; |
105 | 103 |
106 DISALLOW_COPY_AND_ASSIGN(TimeZoneResolver); | 104 DISALLOW_COPY_AND_ASSIGN(TimeZoneResolver); |
107 }; | 105 }; |
108 | 106 |
109 } // namespace chromeos | 107 } // namespace chromeos |
110 | 108 |
111 #endif // CHROMEOS_TIMEZONE_TIMEZONE_RESOLVER_H_ | 109 #endif // CHROMEOS_TIMEZONE_TIMEZONE_RESOLVER_H_ |
OLD | NEW |