diff options
author | joth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-16 14:58:41 +0000 |
---|---|---|
committer | joth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-16 14:58:41 +0000 |
commit | ee8829a058616ab519740edeec6fd1eaf41e748f (patch) | |
tree | 437d9da2f64a19bbdfa9e7d8a6c6cac282e0e485 /chrome/browser/geolocation/network_location_request.h | |
parent | facf2f049458b5875398cf26cd78a59365484911 (diff) | |
download | chromium_src-ee8829a058616ab519740edeec6fd1eaf41e748f.zip chromium_src-ee8829a058616ab519740edeec6fd1eaf41e748f.tar.gz chromium_src-ee8829a058616ab519740edeec6fd1eaf41e748f.tar.bz2 |
Switch from using custom time / epoch handling code (inherited from gears) to base::Time
BUG=http://code.google.com/p/chromium/issues/detail?id=37510
TEST=unit_tests --gtest_filter=geol*
Review URL: http://codereview.chromium.org/776001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41722 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/geolocation/network_location_request.h')
-rw-r--r-- | chrome/browser/geolocation/network_location_request.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/geolocation/network_location_request.h b/chrome/browser/geolocation/network_location_request.h index 35aa245..7f1b399 100644 --- a/chrome/browser/geolocation/network_location_request.h +++ b/chrome/browser/geolocation/network_location_request.h @@ -51,7 +51,7 @@ class NetworkLocationRequest : private URLFetcher::Delegate { bool MakeRequest(const string16& access_token, const RadioData& radio_data, const WifiData& wifi_data, - int64 timestamp); + const base::Time& timestamp); bool is_request_pending() const { return url_fetcher_ != NULL; } const GURL& url() const { return url_; } @@ -66,7 +66,7 @@ class NetworkLocationRequest : private URLFetcher::Delegate { const std::string& data); scoped_refptr<URLRequestContextGetter> url_context_; - int64 timestamp_; // The timestamp of the data used to make the request. + base::Time timestamp_; // The timestamp of the data used to make the request. ListenerInterface* listener_; const GURL url_; string16 host_name_; |