| 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 "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/threading/thread_checker.h" | 10 #include "base/threading/thread_checker.h" |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 private: | 72 private: |
| 73 scoped_refptr<net::URLRequestContextGetter> context_; | 73 scoped_refptr<net::URLRequestContextGetter> context_; |
| 74 const GURL url_; | 74 const GURL url_; |
| 75 | 75 |
| 76 const ApplyTimeZoneCallback apply_timezone_; | 76 const ApplyTimeZoneCallback apply_timezone_; |
| 77 const DelayNetworkCallClosure delay_network_call_; | 77 const DelayNetworkCallClosure delay_network_call_; |
| 78 PrefService* local_state_; | 78 PrefService* local_state_; |
| 79 | 79 |
| 80 scoped_ptr<TimeZoneResolverImpl> implementation_; | 80 scoped_ptr<TimeZoneResolverImpl> implementation_; |
| 81 | 81 |
| 82 bool send_wifi_data_to_geolocation_api_; |
| 83 |
| 82 base::ThreadChecker thread_checker_; | 84 base::ThreadChecker thread_checker_; |
| 83 | 85 |
| 84 DISALLOW_COPY_AND_ASSIGN(TimeZoneResolver); | 86 DISALLOW_COPY_AND_ASSIGN(TimeZoneResolver); |
| 85 }; | 87 }; |
| 86 | 88 |
| 87 } // namespace chromeos | 89 } // namespace chromeos |
| 88 | 90 |
| 89 #endif // CHROMEOS_TIMEZONE_TIMEZONE_RESOLVER_H_ | 91 #endif // CHROMEOS_TIMEZONE_TIMEZONE_RESOLVER_H_ |
| OLD | NEW |