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

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

Issue 6523032: Even more test cleanup. Some fixes to non-test code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome/browser/geolocation/arbitrator_dependency_factories_for_test.h"
6
7 GeolocationArbitratorDependencyFactoryWithLocationProvider::
8 GeolocationArbitratorDependencyFactoryWithLocationProvider(
Nico 2011/02/15 21:25:37 indent 4? also below. this is a terrible class na
9 LocationProviderFactoryFunction factory_function)
10 : factory_function_(factory_function) {
11 }
12
13 GeolocationArbitratorDependencyFactoryWithLocationProvider::
14 ~GeolocationArbitratorDependencyFactoryWithLocationProvider() {}
15
16 LocationProviderBase*
17 GeolocationArbitratorDependencyFactoryWithLocationProvider::
18 NewNetworkLocationProvider(
19 AccessTokenStore* access_token_store,
20 URLRequestContextGetter* context,
21 const GURL& url,
22 const string16& access_token) {
23 return factory_function_();
24 }
25
26 LocationProviderBase*
27 GeolocationArbitratorDependencyFactoryWithLocationProvider::
28 NewSystemLocationProvider() {
29 return NULL;
30 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698