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 90dfffb2228dddb9465a12265a4ac6c3d5aa5584..571a334994ec77dee99efecf5c42bc72e47d319d 100644 |
--- a/chrome/browser/geolocation/geolocation_infobar_delegate_android.h |
+++ b/chrome/browser/geolocation/geolocation_infobar_delegate_android.h |
@@ -10,26 +10,17 @@ |
#include "base/macros.h" |
#include "chrome/browser/permissions/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 { |
public: |
- // Creates a geolocation infobar and delegate and adds the infobar to |
- // |infobar_service|. Returns the infobar if it was successfully added. |
- static infobars::InfoBar* Create(InfoBarService* infobar_service, |
- const GURL& requesting_frame, |
- bool user_gesture, |
- Profile* profile, |
- const PermissionSetCallback& callback); |
- |
- private: |
GeolocationInfoBarDelegateAndroid(const GURL& requesting_frame, |
bool user_gesture, |
Profile* profile, |
const PermissionSetCallback& callback); |
+ |
+ private: |
~GeolocationInfoBarDelegateAndroid() override; |
// PermissionInfoBarDelegate: |