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 |
deleted file mode 100644 |
index 702220a0a225f866c4a1cba78555c1f5a3d1f6c7..0000000000000000000000000000000000000000 |
--- a/chrome/browser/services/gcm/push_messaging_infobar_delegate.h |
+++ /dev/null |
@@ -1,49 +0,0 @@ |
-// Copyright 2014 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef CHROME_BROWSER_SERVICES_GCM_PUSH_MESSAGING_INFOBAR_DELEGATE_H_ |
-#define CHROME_BROWSER_SERVICES_GCM_PUSH_MESSAGING_INFOBAR_DELEGATE_H_ |
- |
-#include "chrome/browser/content_settings/permission_infobar_delegate.h" |
-#include "components/content_settings/core/common/content_settings_types.h" |
- |
-class GURL; |
-class InfoBarService; |
- |
-namespace gcm { |
- |
-// Delegate to allow GCM push messages registration. |
-class PushMessagingInfoBarDelegate : public PermissionInfobarDelegate { |
- public: |
- |
- // Creates a Push Permission 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, |
- PermissionQueueController* controller, |
- const PermissionRequestID& id, |
- const GURL& requesting_frame, |
- const std::string& display_languages, |
- ContentSettingsType type); |
- |
- private: |
- PushMessagingInfoBarDelegate(PermissionQueueController* controller, |
- const PermissionRequestID& id, |
- const GURL& requesting_frame, |
- const std::string& display_languages, |
- ContentSettingsType type); |
- ~PushMessagingInfoBarDelegate() override; |
- |
- // ConfirmInfoBarDelegate: |
- base::string16 GetMessageText() const override; |
- int GetIconID() const override; |
- |
- const GURL requesting_origin_; |
- const std::string display_languages_; |
- |
- DISALLOW_COPY_AND_ASSIGN(PushMessagingInfoBarDelegate); |
-}; |
- |
-} // namespace gcm |
-#endif // CHROME_BROWSER_SERVICES_GCM_PUSH_MESSAGING_INFOBAR_DELEGATE_H_ |
- |