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

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

Issue 8997008: Move AccessTokenStore to Content API, now that it is a pure-virtual class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head (pure merge). Created 9 years 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_factories_for_test.h " 5 #include "content/browser/geolocation/arbitrator_dependency_factories_for_test.h "
6 6
7 using content::AccessTokenStore;
8
7 GeolocationArbitratorDependencyFactoryWithLocationProvider:: 9 GeolocationArbitratorDependencyFactoryWithLocationProvider::
8 GeolocationArbitratorDependencyFactoryWithLocationProvider( 10 GeolocationArbitratorDependencyFactoryWithLocationProvider(
9 LocationProviderFactoryFunction factory_function) 11 LocationProviderFactoryFunction factory_function)
10 : factory_function_(factory_function) { 12 : factory_function_(factory_function) {
11 } 13 }
12 14
13 GeolocationArbitratorDependencyFactoryWithLocationProvider:: 15 GeolocationArbitratorDependencyFactoryWithLocationProvider::
14 ~GeolocationArbitratorDependencyFactoryWithLocationProvider() {} 16 ~GeolocationArbitratorDependencyFactoryWithLocationProvider() {}
15 17
16 LocationProviderBase* 18 LocationProviderBase*
17 GeolocationArbitratorDependencyFactoryWithLocationProvider:: 19 GeolocationArbitratorDependencyFactoryWithLocationProvider::
18 NewNetworkLocationProvider( 20 NewNetworkLocationProvider(
19 AccessTokenStore* access_token_store, 21 AccessTokenStore* access_token_store,
20 net::URLRequestContextGetter* context, 22 net::URLRequestContextGetter* context,
21 const GURL& url, 23 const GURL& url,
22 const string16& access_token) { 24 const string16& access_token) {
23 return factory_function_(); 25 return factory_function_();
24 } 26 }
25 27
26 LocationProviderBase* 28 LocationProviderBase*
27 GeolocationArbitratorDependencyFactoryWithLocationProvider:: 29 GeolocationArbitratorDependencyFactoryWithLocationProvider::
28 NewSystemLocationProvider() { 30 NewSystemLocationProvider() {
29 return NULL; 31 return NULL;
30 } 32 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698