Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(672)

Side by Side Diff: chromeos/timezone/timezone_resolver.h

Issue 1819173002: SimpleGeolocation should support sending WiFi AP data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update after review. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chromeos/network/geolocation_handler.h ('k') | chromeos/timezone/timezone_resolver.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chromeos/network/geolocation_handler.h ('k') | chromeos/timezone/timezone_resolver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698