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

Side by Side Diff: content/browser/geolocation/network_location_provider.cc

Issue 1967823004: Fix include path for moved thread_task_runner_handle.h header in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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
OLDNEW
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 #include "content/browser/geolocation/network_location_provider.h" 5 #include "content/browser/geolocation/network_location_provider.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/single_thread_task_runner.h" 9 #include "base/single_thread_task_runner.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #include "base/thread_task_runner_handle.h" 11 #include "base/threading/thread_task_runner_handle.h"
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 #include "content/public/browser/access_token_store.h" 13 #include "content/public/browser/access_token_store.h"
14 14
15 namespace content { 15 namespace content {
16 namespace { 16 namespace {
17 // The maximum period of time we'll wait for a complete set of wifi data 17 // The maximum period of time we'll wait for a complete set of wifi data
18 // before sending the request. 18 // before sending the request.
19 const int kDataCompleteWaitSeconds = 2; 19 const int kDataCompleteWaitSeconds = 2;
20 } // namespace 20 } // namespace
21 21
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 << wifi_data_.access_point_data.size(); 265 << wifi_data_.access_point_data.size();
266 } 266 }
267 request_->MakeRequest(access_token_, wifi_data_, wifi_timestamp_); 267 request_->MakeRequest(access_token_, wifi_data_, wifi_timestamp_);
268 } 268 }
269 269
270 bool NetworkLocationProvider::IsStarted() const { 270 bool NetworkLocationProvider::IsStarted() const {
271 return wifi_data_provider_manager_ != NULL; 271 return wifi_data_provider_manager_ != NULL;
272 } 272 }
273 273
274 } // namespace content 274 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/geolocation/mock_location_provider.cc ('k') | content/browser/geolocation/wifi_data_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698