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

Unified Diff: chrome/browser/permissions/permission_prompt_android.h

Issue 2755593002: Remove pointer from PermissionPromptAndroid to InfoBar (Closed)
Patch Set: rm unused includes Created 3 years, 9 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
Index: chrome/browser/permissions/permission_prompt_android.h
diff --git a/chrome/browser/permissions/permission_prompt_android.h b/chrome/browser/permissions/permission_prompt_android.h
index eaed551231a654eb1184578855675d37fe4b7c50..da43fd3ce55e9725756bda626c618515a7dbea30 100644
--- a/chrome/browser/permissions/permission_prompt_android.h
+++ b/chrome/browser/permissions/permission_prompt_android.h
@@ -17,10 +17,6 @@ namespace content {
class WebContents;
}
-namespace infobars {
-class InfoBar;
-}
-
class PermissionPromptAndroid : public PermissionPrompt {
public:
explicit PermissionPromptAndroid(content::WebContents* web_contents);
@@ -53,9 +49,6 @@ class PermissionPromptAndroid : public PermissionPrompt {
content::WebContents* web_contents_;
// |delegate_| is the PermissionRequestManager, which owns this object.
Delegate* delegate_;
- // |infobar_| is owned by the InfoBarService; we keep a pointer here so we can
- // ask the service to remove the infobar after it is added.
- infobars::InfoBar* infobar_;
// The current request being displayed (if any).
std::vector<PermissionRequest*> requests_;

Powered by Google App Engine
This is Rietveld 408576698