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

Side by Side Diff: content/browser/geolocation/location_provider.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 // A location provider provides position information from a particular source 5 // A location provider provides position information from a particular source
6 // (GPS, network etc). 6 // (GPS, network etc).
7 // 7 //
8 // This file declares a base class to be used by all location providers. 8 // This file declares a base class to be used by all location providers.
9 // Primarily, this class declares interface methods to be implemented by 9 // Primarily, this class declares interface methods to be implemented by
10 // derived classes. 10 // derived classes.
11 11
12 #ifndef CONTENT_BROWSER_GEOLOCATION_LOCATION_PROVIDER_H_ 12 #ifndef CONTENT_BROWSER_GEOLOCATION_LOCATION_PROVIDER_H_
13 #define CONTENT_BROWSER_GEOLOCATION_LOCATION_PROVIDER_H_ 13 #define CONTENT_BROWSER_GEOLOCATION_LOCATION_PROVIDER_H_
14 #pragma once
15 14
16 #include <map> 15 #include <map>
17 16
18 #include "base/string16.h" 17 #include "base/string16.h"
19 #include "base/threading/non_thread_safe.h" 18 #include "base/threading/non_thread_safe.h"
20 #include "content/common/content_export.h" 19 #include "content/common/content_export.h"
21 20
22 class GURL; 21 class GURL;
23 22
24 namespace content { 23 namespace content {
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 // Factory functions for the various types of location provider to abstract 95 // Factory functions for the various types of location provider to abstract
97 // over the platform-dependent implementations. 96 // over the platform-dependent implementations.
98 CONTENT_EXPORT LocationProviderBase* NewNetworkLocationProvider( 97 CONTENT_EXPORT LocationProviderBase* NewNetworkLocationProvider(
99 content::AccessTokenStore* access_token_store, 98 content::AccessTokenStore* access_token_store,
100 net::URLRequestContextGetter* context, 99 net::URLRequestContextGetter* context,
101 const GURL& url, 100 const GURL& url,
102 const string16& access_token); 101 const string16& access_token);
103 LocationProviderBase* NewSystemLocationProvider(); 102 LocationProviderBase* NewSystemLocationProvider();
104 103
105 #endif // CONTENT_BROWSER_GEOLOCATION_LOCATION_PROVIDER_H_ 104 #endif // CONTENT_BROWSER_GEOLOCATION_LOCATION_PROVIDER_H_
OLDNEW
« no previous file with comments | « content/browser/geolocation/location_arbitrator.h ('k') | content/browser/geolocation/mock_location_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698