| 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 InfoBarDelegate::AsTranslateInfoBarDelegate() { | 124 InfoBarDelegate::AsTranslateInfoBarDelegate() { |
| 125 return nullptr; | 125 return nullptr; |
| 126 } | 126 } |
| 127 | 127 |
| 128 #if defined(OS_ANDROID) | 128 #if defined(OS_ANDROID) |
| 129 MediaStreamInfoBarDelegateAndroid* | 129 MediaStreamInfoBarDelegateAndroid* |
| 130 InfoBarDelegate::AsMediaStreamInfoBarDelegateAndroid() { | 130 InfoBarDelegate::AsMediaStreamInfoBarDelegateAndroid() { |
| 131 return nullptr; | 131 return nullptr; |
| 132 } | 132 } |
| 133 | 133 |
| 134 MediaThrottleInfoBarDelegate* | |
| 135 InfoBarDelegate::AsMediaThrottleInfoBarDelegate() { | |
| 136 return nullptr; | |
| 137 } | |
| 138 | |
| 139 offline_pages::OfflinePageInfoBarDelegate* | 134 offline_pages::OfflinePageInfoBarDelegate* |
| 140 InfoBarDelegate::AsOfflinePageInfoBarDelegate() { | 135 InfoBarDelegate::AsOfflinePageInfoBarDelegate() { |
| 141 return nullptr; | 136 return nullptr; |
| 142 } | 137 } |
| 143 #endif | 138 #endif |
| 144 | 139 |
| 145 InfoBarDelegate::InfoBarDelegate() : nav_entry_id_(0) { | 140 InfoBarDelegate::InfoBarDelegate() : nav_entry_id_(0) { |
| 146 } | 141 } |
| 147 | 142 |
| 148 } // namespace infobars | 143 } // namespace infobars |
| OLD | NEW |