| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_SERVICES_GCM_PUSH_MESSAGING_INFOBAR_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_SERVICES_GCM_PUSH_MESSAGING_INFOBAR_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_SERVICES_GCM_PUSH_MESSAGING_INFOBAR_DELEGATE_H_ | 6 #define CHROME_BROWSER_SERVICES_GCM_PUSH_MESSAGING_INFOBAR_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/content_settings/permission_infobar_delegate.h" | 8 #include "chrome/browser/content_settings/permission_infobar_delegate.h" |
| 9 #include "components/content_settings/core/common/content_settings_types.h" | 9 #include "components/content_settings/core/common/content_settings_types.h" |
| 10 | 10 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 private: | 29 private: |
| 30 PushMessagingInfoBarDelegate(PermissionQueueController* controller, | 30 PushMessagingInfoBarDelegate(PermissionQueueController* controller, |
| 31 const PermissionRequestID& id, | 31 const PermissionRequestID& id, |
| 32 const GURL& requesting_frame, | 32 const GURL& requesting_frame, |
| 33 const std::string& display_languages, | 33 const std::string& display_languages, |
| 34 ContentSettingsType type); | 34 ContentSettingsType type); |
| 35 virtual ~PushMessagingInfoBarDelegate(); | 35 virtual ~PushMessagingInfoBarDelegate(); |
| 36 | 36 |
| 37 // ConfirmInfoBarDelegate: | 37 // ConfirmInfoBarDelegate: |
| 38 virtual base::string16 GetMessageText() const OVERRIDE; | 38 virtual base::string16 GetMessageText() const override; |
| 39 virtual int GetIconID() const OVERRIDE; | 39 virtual int GetIconID() const override; |
| 40 | 40 |
| 41 const GURL requesting_origin_; | 41 const GURL requesting_origin_; |
| 42 const std::string display_languages_; | 42 const std::string display_languages_; |
| 43 | 43 |
| 44 DISALLOW_COPY_AND_ASSIGN(PushMessagingInfoBarDelegate); | 44 DISALLOW_COPY_AND_ASSIGN(PushMessagingInfoBarDelegate); |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 } // namespace gcm | 47 } // namespace gcm |
| 48 #endif // CHROME_BROWSER_SERVICES_GCM_PUSH_MESSAGING_INFOBAR_DELEGATE_H_ | 48 #endif // CHROME_BROWSER_SERVICES_GCM_PUSH_MESSAGING_INFOBAR_DELEGATE_H_ |
| 49 | 49 |
| OLD | NEW |