| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/browser/geolocation/arbitrator_dependency_factory.h" | 5 #include "content/browser/geolocation/arbitrator_dependency_factory.h" |
| 6 | 6 |
| 7 #include "chrome/browser/geolocation/access_token_store.h" | |
| 8 #include "chrome/browser/geolocation/location_provider.h" | |
| 9 #include "chrome/browser/profiles/profile.h" | 7 #include "chrome/browser/profiles/profile.h" |
| 8 #include "content/browser/geolocation/access_token_store.h" |
| 9 #include "content/browser/geolocation/location_provider.h" |
| 10 | 10 |
| 11 // GeolocationArbitratorDependencyFactory | 11 // GeolocationArbitratorDependencyFactory |
| 12 GeolocationArbitratorDependencyFactory:: | 12 GeolocationArbitratorDependencyFactory:: |
| 13 ~GeolocationArbitratorDependencyFactory() { | 13 ~GeolocationArbitratorDependencyFactory() { |
| 14 } | 14 } |
| 15 | 15 |
| 16 // DefaultGeolocationArbitratorDependencyFactory | 16 // DefaultGeolocationArbitratorDependencyFactory |
| 17 URLRequestContextGetter* | 17 URLRequestContextGetter* |
| 18 DefaultGeolocationArbitratorDependencyFactory::GetContextGetter() { | 18 DefaultGeolocationArbitratorDependencyFactory::GetContextGetter() { |
| 19 return Profile::GetDefaultRequestContext(); | 19 return Profile::GetDefaultRequestContext(); |
| (...skipping 17 matching lines...) Expand all Loading... |
| 37 const string16& access_token) { | 37 const string16& access_token) { |
| 38 return ::NewNetworkLocationProvider(access_token_store, context, | 38 return ::NewNetworkLocationProvider(access_token_store, context, |
| 39 url, access_token); | 39 url, access_token); |
| 40 } | 40 } |
| 41 | 41 |
| 42 LocationProviderBase* | 42 LocationProviderBase* |
| 43 DefaultGeolocationArbitratorDependencyFactory::NewSystemLocationProvider() { | 43 DefaultGeolocationArbitratorDependencyFactory::NewSystemLocationProvider() { |
| 44 return ::NewSystemLocationProvider(); | 44 return ::NewSystemLocationProvider(); |
| 45 } | 45 } |
| 46 | 46 |
| OLD | NEW |