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 "content/browser/geolocation/arbitrator_dependency_factory.h" | 5 #include "content/browser/geolocation/arbitrator_dependency_factory.h" |
6 | 6 |
7 #include "content/browser/content_browser_client.h" | |
8 #include "content/browser/geolocation/access_token_store.h" | 7 #include "content/browser/geolocation/access_token_store.h" |
9 #include "content/browser/geolocation/location_provider.h" | 8 #include "content/browser/geolocation/location_provider.h" |
| 9 #include "content/public/browser/content_browser_client.h" |
10 | 10 |
11 // GeolocationArbitratorDependencyFactory | 11 // GeolocationArbitratorDependencyFactory |
12 GeolocationArbitratorDependencyFactory:: | 12 GeolocationArbitratorDependencyFactory:: |
13 ~GeolocationArbitratorDependencyFactory() { | 13 ~GeolocationArbitratorDependencyFactory() { |
14 } | 14 } |
15 | 15 |
16 // DefaultGeolocationArbitratorDependencyFactory | 16 // DefaultGeolocationArbitratorDependencyFactory |
17 DefaultGeolocationArbitratorDependencyFactory::GetTimeNow | 17 DefaultGeolocationArbitratorDependencyFactory::GetTimeNow |
18 DefaultGeolocationArbitratorDependencyFactory::GetTimeFunction() { | 18 DefaultGeolocationArbitratorDependencyFactory::GetTimeFunction() { |
19 return base::Time::Now; | 19 return base::Time::Now; |
(...skipping 11 matching lines...) Expand all Loading... |
31 const GURL& url, | 31 const GURL& url, |
32 const string16& access_token) { | 32 const string16& access_token) { |
33 return ::NewNetworkLocationProvider(access_token_store, context, | 33 return ::NewNetworkLocationProvider(access_token_store, context, |
34 url, access_token); | 34 url, access_token); |
35 } | 35 } |
36 | 36 |
37 LocationProviderBase* | 37 LocationProviderBase* |
38 DefaultGeolocationArbitratorDependencyFactory::NewSystemLocationProvider() { | 38 DefaultGeolocationArbitratorDependencyFactory::NewSystemLocationProvider() { |
39 return ::NewSystemLocationProvider(); | 39 return ::NewSystemLocationProvider(); |
40 } | 40 } |
OLD | NEW |