Index: chrome/browser/geolocation/geolocation_confirm_infobar_delegate_android.h |
diff --git a/chrome/browser/geolocation/geolocation_confirm_infobar_delegate_android.h b/chrome/browser/geolocation/geolocation_confirm_infobar_delegate_android.h |
index 22dba56fb71af4a267672042a29d214ec11109bb..fc6217b72335e947d473f1759c30ddeb1e398a9c 100644 |
--- a/chrome/browser/geolocation/geolocation_confirm_infobar_delegate_android.h |
+++ b/chrome/browser/geolocation/geolocation_confirm_infobar_delegate_android.h |
@@ -5,8 +5,11 @@ |
#ifndef CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_ANDROID_H_ |
#define CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_ANDROID_H_ |
+#include "base/memory/scoped_ptr.h" |
#include "chrome/browser/geolocation/geolocation_confirm_infobar_delegate.h" |
+class GoogleLocationSettingsHelper; |
+ |
class GeolocationConfirmInfoBarDelegateAndroid |
: public GeolocationConfirmInfoBarDelegate { |
public: |
@@ -18,10 +21,14 @@ class GeolocationConfirmInfoBarDelegateAndroid |
int bridge_id, |
const GURL& requesting_frame_url, |
const std::string& display_languages); |
+ virtual ~GeolocationConfirmInfoBarDelegateAndroid(); |
private: |
// ConfirmInfoBarDelegate: |
virtual string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; |
+ virtual bool Accept() OVERRIDE; |
+ |
+ scoped_ptr<GoogleLocationSettingsHelper> google_location_settings_helper_; |
}; |
#endif // CHROME_BROWSER_GEOLOCATION_GEOLOCATION_CONFIRM_INFOBAR_DELEGATE_ANDROID_H_ |