#ifndef CONTENT_BROWSER_GEOLOCATION_LOCATION_PROVIDER_H_
#define CONTENT_BROWSER_GEOLOCATION_LOCATION_PROVIDER_H_
#include "content/common/content_export.h"
#include "content/port/browser/location_provider.h"
namespace content {
class CONTENT_EXPORT LocationProviderBase
: NON_EXPORTED_BASE(public LocationProvider) {
public:
LocationProviderBase();
virtual ~LocationProviderBase();
protected:
void NotifyCallback(const Geoposition& position);
virtual void SetUpdateCallback(
const LocationProviderUpdateCallback& callback) OVERRIDE;
virtual void RequestRefresh() OVERRIDE;
private:
LocationProviderUpdateCallback callback_;
DISALLOW_COPY_AND_ASSIGN(LocationProviderBase);
};
}
#endif