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 28cf978509cfb23dc60c8c241bbb17e6ce55b9fb..93bec9e2622fb5a0fe7c681c09d00f7e6574cdcd 100644 |
--- a/chrome/browser/permissions/permission_prompt_android.h |
+++ b/chrome/browser/permissions/permission_prompt_android.h |
@@ -7,16 +7,10 @@ |
#include "chrome/browser/ui/website_settings/permission_prompt.h" |
-class InfoBarService; |
- |
namespace content { |
class WebContents; |
} |
-namespace infobars { |
-class InfoBar; |
-} |
- |
class PermissionPromptAndroid : public PermissionPrompt { |
public: |
explicit PermissionPromptAndroid(content::WebContents* web_contents); |
@@ -46,9 +40,7 @@ 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_; |