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: content/browser/geolocation/arbitrator_dependency_factories_for_test.h

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CONTENT_BROWSER_GEOLOCATION_ARBITRATOR_DEPENDENCY_FACTORIES_FOR_TEST_H_ 5 #ifndef CONTENT_BROWSER_GEOLOCATION_ARBITRATOR_DEPENDENCY_FACTORIES_FOR_TEST_H_
6 #define CONTENT_BROWSER_GEOLOCATION_ARBITRATOR_DEPENDENCY_FACTORIES_FOR_TEST_H_ 6 #define CONTENT_BROWSER_GEOLOCATION_ARBITRATOR_DEPENDENCY_FACTORIES_FOR_TEST_H_
7 #pragma once
8 7
9 #include "content/browser/geolocation/arbitrator_dependency_factory.h" 8 #include "content/browser/geolocation/arbitrator_dependency_factory.h"
10 9
11 class GeolocationArbitratorDependencyFactoryWithLocationProvider 10 class GeolocationArbitratorDependencyFactoryWithLocationProvider
12 : public DefaultGeolocationArbitratorDependencyFactory { 11 : public DefaultGeolocationArbitratorDependencyFactory {
13 public: 12 public:
14 typedef LocationProviderBase* (*LocationProviderFactoryFunction)(void); 13 typedef LocationProviderBase* (*LocationProviderFactoryFunction)(void);
15 14
16 GeolocationArbitratorDependencyFactoryWithLocationProvider( 15 GeolocationArbitratorDependencyFactoryWithLocationProvider(
17 LocationProviderFactoryFunction factory_function); 16 LocationProviderFactoryFunction factory_function);
18 17
19 virtual LocationProviderBase* NewNetworkLocationProvider( 18 virtual LocationProviderBase* NewNetworkLocationProvider(
20 content::AccessTokenStore* access_token_store, 19 content::AccessTokenStore* access_token_store,
21 net::URLRequestContextGetter* context, 20 net::URLRequestContextGetter* context,
22 const GURL& url, 21 const GURL& url,
23 const string16& access_token) OVERRIDE; 22 const string16& access_token) OVERRIDE;
24 23
25 virtual LocationProviderBase* NewSystemLocationProvider() OVERRIDE; 24 virtual LocationProviderBase* NewSystemLocationProvider() OVERRIDE;
26 25
27 protected: 26 protected:
28 virtual ~GeolocationArbitratorDependencyFactoryWithLocationProvider(); 27 virtual ~GeolocationArbitratorDependencyFactoryWithLocationProvider();
29 28
30 LocationProviderFactoryFunction factory_function_; 29 LocationProviderFactoryFunction factory_function_;
31 }; 30 };
32 31
33 32
34 #endif // CONTENT_BROWSER_GEOLOCATION_ARBITRATOR_DEPENDENCY_FACTORIES_FOR_TEST_ H_ 33 #endif // CONTENT_BROWSER_GEOLOCATION_ARBITRATOR_DEPENDENCY_FACTORIES_FOR_TEST_ H_
OLDNEW
« no previous file with comments | « content/browser/fileapi/chrome_blob_storage_context.h ('k') | content/browser/geolocation/arbitrator_dependency_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698