| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 COMPONENTS_INFOBARS_CORE_CONFIRM_INFOBAR_DELEGATE_H_ | 5 #ifndef COMPONENTS_INFOBARS_CORE_CONFIRM_INFOBAR_DELEGATE_H_ |
| 6 #define COMPONENTS_INFOBARS_CORE_CONFIRM_INFOBAR_DELEGATE_H_ | 6 #define COMPONENTS_INFOBARS_CORE_CONFIRM_INFOBAR_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| 10 #include "components/infobars/core/infobar_delegate.h" | 11 #include "components/infobars/core/infobar_delegate.h" |
| 11 #include "components/infobars/core/infobar_manager.h" | 12 #include "components/infobars/core/infobar_manager.h" |
| 12 #include "url/gurl.h" | 13 #include "url/gurl.h" |
| 13 | 14 |
| 14 namespace infobars { | 15 namespace infobars { |
| 15 class InfoBar; | 16 class InfoBar; |
| 16 class InfoBarManager; | 17 class InfoBarManager; |
| 17 } | 18 } |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 | 78 |
| 78 private: | 79 private: |
| 79 // InfoBarDelegate: | 80 // InfoBarDelegate: |
| 80 bool EqualsDelegate(infobars::InfoBarDelegate* delegate) const override; | 81 bool EqualsDelegate(infobars::InfoBarDelegate* delegate) const override; |
| 81 ConfirmInfoBarDelegate* AsConfirmInfoBarDelegate() override; | 82 ConfirmInfoBarDelegate* AsConfirmInfoBarDelegate() override; |
| 82 | 83 |
| 83 DISALLOW_COPY_AND_ASSIGN(ConfirmInfoBarDelegate); | 84 DISALLOW_COPY_AND_ASSIGN(ConfirmInfoBarDelegate); |
| 84 }; | 85 }; |
| 85 | 86 |
| 86 #endif // COMPONENTS_INFOBARS_CORE_CONFIRM_INFOBAR_DELEGATE_H_ | 87 #endif // COMPONENTS_INFOBARS_CORE_CONFIRM_INFOBAR_DELEGATE_H_ |
| OLD | NEW |