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