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

Unified Diff: chrome/browser/services/gcm/push_messaging_infobar_delegate.h

Issue 365123003: Implement midi permissions on top of the new common permission classes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/services/gcm/push_messaging_infobar_delegate.h
diff --git a/chrome/browser/services/gcm/push_messaging_infobar_delegate.h b/chrome/browser/services/gcm/push_messaging_infobar_delegate.h
index e278777d6e619c26000e90a5104aa96282df3a56..02d66e24131daf8778a195a5c676ed6bfb20665d 100644
--- a/chrome/browser/services/gcm/push_messaging_infobar_delegate.h
+++ b/chrome/browser/services/gcm/push_messaging_infobar_delegate.h
@@ -5,7 +5,7 @@
#ifndef CHROME_BROWSER_SERVICES_GCM_PUSH_MESSAGING_INFOBAR_DELEGATE_H_
#define CHROME_BROWSER_SERVICES_GCM_PUSH_MESSAGING_INFOBAR_DELEGATE_H_
-#include "chrome/browser/services/gcm/permission_infobar_delegate.h"
+#include "chrome/browser/content_settings/permission_infobar_delegate.h"
class GURL;
class InfoBarService;
@@ -15,7 +15,6 @@ namespace gcm {
// Delegate to allow GCM push messages registration.
class PushMessagingInfoBarDelegate : public PermissionInfobarDelegate {
public:
- virtual ~PushMessagingInfoBarDelegate();
// Creates a Push Permission infobar and delegate and adds the infobar to
// |infobar_service|. Returns the infobar if it was successfully added.
@@ -30,9 +29,11 @@ class PushMessagingInfoBarDelegate : public PermissionInfobarDelegate {
const PermissionRequestID& id,
const GURL& requesting_frame,
const std::string& display_languages);
+ virtual ~PushMessagingInfoBarDelegate();
// ConfirmInfoBarDelegate:
virtual base::string16 GetMessageText() const OVERRIDE;
+ virtual int GetIconID() const OVERRIDE;
const GURL requesting_origin_;
const std::string display_languages_;

Powered by Google App Engine
This is Rietveld 408576698