Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(418)

Unified Diff: chrome/browser/geolocation/geolocation_infobar_delegate_android.h

Issue 2443463003: Remove PermissionInfoBarDelegate from desktop builds. (Closed)
Patch Set: Add comment explaining lifetime Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/geolocation/geolocation_infobar_delegate_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/geolocation/geolocation_infobar_delegate_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698