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

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

Issue 8336007: Move content_client.h into content/public. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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) 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" 7 #include "content/browser/content_browser_client.h"
8 #include "content/browser/geolocation/access_token_store.h" 8 #include "content/browser/geolocation/access_token_store.h"
9 #include "content/browser/geolocation/location_provider.h" 9 #include "content/browser/geolocation/location_provider.h"
10 #include "content/common/content_client.h" 10 #include "content/public/common/content_client.h"
11 11
12 // GeolocationArbitratorDependencyFactory 12 // GeolocationArbitratorDependencyFactory
13 GeolocationArbitratorDependencyFactory:: 13 GeolocationArbitratorDependencyFactory::
14 ~GeolocationArbitratorDependencyFactory() { 14 ~GeolocationArbitratorDependencyFactory() {
15 } 15 }
16 16
17 // DefaultGeolocationArbitratorDependencyFactory 17 // DefaultGeolocationArbitratorDependencyFactory
18 DefaultGeolocationArbitratorDependencyFactory::GetTimeNow 18 DefaultGeolocationArbitratorDependencyFactory::GetTimeNow
19 DefaultGeolocationArbitratorDependencyFactory::GetTimeFunction() { 19 DefaultGeolocationArbitratorDependencyFactory::GetTimeFunction() {
20 return base::Time::Now; 20 return base::Time::Now;
(...skipping 11 matching lines...) Expand all
32 const GURL& url, 32 const GURL& url,
33 const string16& access_token) { 33 const string16& access_token) {
34 return ::NewNetworkLocationProvider(access_token_store, context, 34 return ::NewNetworkLocationProvider(access_token_store, context,
35 url, access_token); 35 url, access_token);
36 } 36 }
37 37
38 LocationProviderBase* 38 LocationProviderBase*
39 DefaultGeolocationArbitratorDependencyFactory::NewSystemLocationProvider() { 39 DefaultGeolocationArbitratorDependencyFactory::NewSystemLocationProvider() {
40 return ::NewSystemLocationProvider(); 40 return ::NewSystemLocationProvider();
41 } 41 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698