| 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 #include "components/infobars/core/infobar_delegate.h" | 5 #include "components/infobars/core/infobar_delegate.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 #include "components/infobars/core/infobar.h" | 9 #include "components/infobars/core/infobar.h" |
| 10 #include "components/infobars/core/infobar_manager.h" | 10 #include "components/infobars/core/infobar_manager.h" |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 | 132 |
| 133 MediaThrottleInfoBarDelegate* | 133 MediaThrottleInfoBarDelegate* |
| 134 InfoBarDelegate::AsMediaThrottleInfoBarDelegate() { | 134 InfoBarDelegate::AsMediaThrottleInfoBarDelegate() { |
| 135 return nullptr; | 135 return nullptr; |
| 136 } | 136 } |
| 137 | 137 |
| 138 offline_pages::OfflinePageInfoBarDelegate* | 138 offline_pages::OfflinePageInfoBarDelegate* |
| 139 InfoBarDelegate::AsOfflinePageInfoBarDelegate() { | 139 InfoBarDelegate::AsOfflinePageInfoBarDelegate() { |
| 140 return nullptr; | 140 return nullptr; |
| 141 } | 141 } |
| 142 |
| 143 SearchGeolocationDisclosureInfoBarDelegate* |
| 144 InfoBarDelegate::AsSearchGeolocationDisclosureInfoBarDelegate() { |
| 145 return nullptr; |
| 146 } |
| 142 #endif | 147 #endif |
| 143 | 148 |
| 144 InfoBarDelegate::InfoBarDelegate() : nav_entry_id_(0) { | 149 InfoBarDelegate::InfoBarDelegate() : nav_entry_id_(0) { |
| 145 } | 150 } |
| 146 | 151 |
| 147 } // namespace infobars | 152 } // namespace infobars |
| OLD | NEW |