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

Side by Side Diff: content/browser/geolocation/location_provider.h

Issue 6576020: Remove Gears from Chrome (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: windows fixes Created 9 years, 9 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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). The GearsGeolocation object uses a set of location 6 // (GPS, network etc).
7 // providers to obtain a position fix.
8 // 7 //
9 // 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.
10 // Primarily, this class declares interface methods to be implemented by 9 // Primarily, this class declares interface methods to be implemented by
11 // derived classes. 10 // derived classes.
12 11
13 #ifndef CONTENT_BROWSER_GEOLOCATION_LOCATION_PROVIDER_H_ 12 #ifndef CONTENT_BROWSER_GEOLOCATION_LOCATION_PROVIDER_H_
14 #define CONTENT_BROWSER_GEOLOCATION_LOCATION_PROVIDER_H_ 13 #define CONTENT_BROWSER_GEOLOCATION_LOCATION_PROVIDER_H_
15 #pragma once 14 #pragma once
16 15
17 #include <map> 16 #include <map>
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // Factory functions for the various types of location provider to abstract 88 // Factory functions for the various types of location provider to abstract
90 // over the platform-dependent implementations. 89 // over the platform-dependent implementations.
91 LocationProviderBase* NewNetworkLocationProvider( 90 LocationProviderBase* NewNetworkLocationProvider(
92 AccessTokenStore* access_token_store, 91 AccessTokenStore* access_token_store,
93 URLRequestContextGetter* context, 92 URLRequestContextGetter* context,
94 const GURL& url, 93 const GURL& url,
95 const string16& access_token); 94 const string16& access_token);
96 LocationProviderBase* NewSystemLocationProvider(); 95 LocationProviderBase* NewSystemLocationProvider();
97 96
98 #endif // CONTENT_BROWSER_GEOLOCATION_LOCATION_PROVIDER_H_ 97 #endif // CONTENT_BROWSER_GEOLOCATION_LOCATION_PROVIDER_H_
OLDNEW
« no previous file with comments | « content/browser/geolocation/gps_location_provider_linux.cc ('k') | content/browser/geolocation/osx_wifi.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698