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

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

Issue 18868005: content: Migrate from googleurl/ includes to url/ ones. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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/location_arbitrator_impl.h" 5 #include "content/browser/geolocation/location_arbitrator_impl.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
11 #include "content/browser/geolocation/network_location_provider.h" 11 #include "content/browser/geolocation/network_location_provider.h"
12 #include "content/public/browser/access_token_store.h" 12 #include "content/public/browser/access_token_store.h"
13 #include "content/public/browser/content_browser_client.h" 13 #include "content/public/browser/content_browser_client.h"
14 #include "content/public/common/content_client.h" 14 #include "content/public/common/content_client.h"
15 #include "googleurl/src/gurl.h" 15 #include "url/gurl.h"
16 16
17 namespace content { 17 namespace content {
18 namespace { 18 namespace {
19 19
20 const char* kDefaultNetworkProviderUrl = 20 const char* kDefaultNetworkProviderUrl =
21 "https://www.googleapis.com/geolocation/v1/geolocate"; 21 "https://www.googleapis.com/geolocation/v1/geolocate";
22 } // namespace 22 } // namespace
23 23
24 // To avoid oscillations, set this to twice the expected update interval of a 24 // To avoid oscillations, set this to twice the expected update interval of a
25 // a GPS-type location provider (in case it misses a beat) plus a little. 25 // a GPS-type location provider (in case it misses a beat) plus a little.
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 } 191 }
192 } 192 }
193 return false; 193 return false;
194 } 194 }
195 195
196 bool GeolocationArbitratorImpl::HasPermissionBeenGranted() const { 196 bool GeolocationArbitratorImpl::HasPermissionBeenGranted() const {
197 return is_permission_granted_; 197 return is_permission_granted_;
198 } 198 }
199 199
200 } // namespace content 200 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/fileapi/fileapi_message_filter.cc ('k') | content/browser/geolocation/network_location_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698