Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(911)

Unified Diff: components/infobars/core/infobar_delegate.cc

Issue 833413002: Add new conversion method to ConfirmInfoBarDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/infobars/core/infobar_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/infobars/core/infobar_delegate.cc
diff --git a/components/infobars/core/infobar_delegate.cc b/components/infobars/core/infobar_delegate.cc
index 6979e6cf938360217b024c3b63fe0c925c77a1c7..65646f93618dc62b74ac26b77ff1b272d33eaf03 100644
--- a/components/infobars/core/infobar_delegate.cc
+++ b/components/infobars/core/infobar_delegate.cc
@@ -45,48 +45,52 @@ InfoBarDelegate::Type InfoBarDelegate::GetInfoBarType() const {
}
AutoLoginInfoBarDelegate* InfoBarDelegate::AsAutoLoginInfoBarDelegate() {
- return NULL;
+ return nullptr;
}
ConfirmInfoBarDelegate* InfoBarDelegate::AsConfirmInfoBarDelegate() {
- return NULL;
+ return nullptr;
}
ExtensionInfoBarDelegate* InfoBarDelegate::AsExtensionInfoBarDelegate() {
- return NULL;
+ return nullptr;
}
InsecureContentInfoBarDelegate*
InfoBarDelegate::AsInsecureContentInfoBarDelegate() {
- return NULL;
+ return nullptr;
}
MediaStreamInfoBarDelegate* InfoBarDelegate::AsMediaStreamInfoBarDelegate() {
- return NULL;
+ return nullptr;
+}
+
+NativeAppInfoBarDelegate* InfoBarDelegate::AsNativeAppInfoBarDelegate() {
+ return nullptr;
}
PopupBlockedInfoBarDelegate* InfoBarDelegate::AsPopupBlockedInfoBarDelegate() {
- return NULL;
+ return nullptr;
}
RegisterProtocolHandlerInfoBarDelegate*
InfoBarDelegate::AsRegisterProtocolHandlerInfoBarDelegate() {
- return NULL;
+ return nullptr;
}
ScreenCaptureInfoBarDelegate*
InfoBarDelegate::AsScreenCaptureInfoBarDelegate() {
- return NULL;
+ return nullptr;
}
ThemeInstalledInfoBarDelegate*
InfoBarDelegate::AsThemePreviewInfobarDelegate() {
- return NULL;
+ return nullptr;
}
translate::TranslateInfoBarDelegate*
InfoBarDelegate::AsTranslateInfoBarDelegate() {
- return NULL;
+ return nullptr;
}
void InfoBarDelegate::StoreActiveEntryUniqueID() {
« no previous file with comments | « components/infobars/core/infobar_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698