Index: chrome/browser/geolocation/geolocation_infobar_delegate_android.h |
diff --git a/chrome/browser/geolocation/geolocation_infobar_delegate_android.h b/chrome/browser/geolocation/geolocation_infobar_delegate_android.h |
index a87e84da48fff3cad556d03f9060f1bb473f4873..36300c503063954cd78caf37e2cc308702257149 100644 |
--- a/chrome/browser/geolocation/geolocation_infobar_delegate_android.h |
+++ b/chrome/browser/geolocation/geolocation_infobar_delegate_android.h |
@@ -8,14 +8,15 @@ |
#include <string> |
#include "base/macros.h" |
-#include "chrome/browser/permissions/permission_infobar_delegate.h" |
+#include "chrome/browser/permissions/single_permission_infobar_delegate.h" |
class InfoBarService; |
// GeolocationInfoBarDelegateAndroids are created by the |
// PermissionQueueController to control the display |
// and handling of geolocation permission infobars to the user. |
-class GeolocationInfoBarDelegateAndroid : public PermissionInfobarDelegate { |
+class GeolocationInfoBarDelegateAndroid |
+ : public SinglePermissionInfoBarDelegate { |
public: |
// Creates a geolocation infobar and delegate and adds the infobar to |
// |infobar_service|. Returns the infobar if it was successfully added. |
@@ -37,8 +38,6 @@ class GeolocationInfoBarDelegateAndroid : public PermissionInfobarDelegate { |
int GetIconId() const override; |
int GetMessageResourceId() const override; |
- GURL requesting_frame_; |
- |
DISALLOW_COPY_AND_ASSIGN(GeolocationInfoBarDelegateAndroid); |
}; |