| Index: chrome/browser/extensions/api/location/location_manager.h
|
| diff --git a/chrome/browser/extensions/api/location/location_manager.h b/chrome/browser/extensions/api/location/location_manager.h
|
| index 6983b17176528f0c1371538233ee1135357251cd..c121cc3227ce470de683ddc31238b01a72f5326d 100644
|
| --- a/chrome/browser/extensions/api/location/location_manager.h
|
| +++ b/chrome/browser/extensions/api/location/location_manager.h
|
| @@ -16,6 +16,7 @@
|
| class Profile;
|
|
|
| namespace content {
|
| +class BrowserContext;
|
| struct Geoposition;
|
| } // namespace content
|
|
|
| @@ -38,7 +39,7 @@ class LocationManager
|
| public content::NotificationObserver,
|
| public base::SupportsWeakPtr<LocationManager> {
|
| public:
|
| - explicit LocationManager(Profile* profile);
|
| + explicit LocationManager(content::BrowserContext* context);
|
| virtual ~LocationManager();
|
|
|
| // Adds location request for the given extension, and starts the location
|
| @@ -58,7 +59,7 @@ class LocationManager
|
| static ProfileKeyedAPIFactory<LocationManager>* GetFactoryInstance();
|
|
|
| // Convenience method to get the LocationManager for a profile.
|
| - static LocationManager* Get(Profile* profile);
|
| + static LocationManager* Get(content::BrowserContext* context);
|
|
|
| private:
|
| friend class LocationRequest;
|
|
|