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

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

Issue 16408017: Use a direct include of utf_string_conversions.h in content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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 | Annotate | Revision Log
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/strings/utf_string_conversions.h"
8 #include "base/time.h" 9 #include "base/time.h"
9 #include "base/utf_string_conversions.h"
10 #include "content/public/browser/access_token_store.h" 10 #include "content/public/browser/access_token_store.h"
11 11
12 namespace content { 12 namespace content {
13 namespace { 13 namespace {
14 // The maximum period of time we'll wait for a complete set of device data 14 // The maximum period of time we'll wait for a complete set of device data
15 // before sending the request. 15 // before sending the request.
16 const int kDataCompleteWaitSeconds = 2; 16 const int kDataCompleteWaitSeconds = 2;
17 } // namespace 17 } // namespace
18 18
19 // static 19 // static
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 262
263 is_new_data_available_ = is_wifi_data_complete_; 263 is_new_data_available_ = is_wifi_data_complete_;
264 UpdatePosition(); 264 UpdatePosition();
265 } 265 }
266 266
267 bool NetworkLocationProvider::IsStarted() const { 267 bool NetworkLocationProvider::IsStarted() const {
268 return wifi_data_provider_ != NULL; 268 return wifi_data_provider_ != NULL;
269 } 269 }
270 270
271 } // namespace content 271 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698