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

Side by Side Diff: components/infobars/core/infobar_delegate.cc

Issue 2250053002: Clean up the PermissionInfoBarDelegate hierarchy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permission-infobar-remember-decision
Patch Set: Address comments Created 4 years, 4 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 unified diff | Download patch
OLDNEW
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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 87
88 InsecureContentInfoBarDelegate* 88 InsecureContentInfoBarDelegate*
89 InfoBarDelegate::AsInsecureContentInfoBarDelegate() { 89 InfoBarDelegate::AsInsecureContentInfoBarDelegate() {
90 return nullptr; 90 return nullptr;
91 } 91 }
92 92
93 NativeAppInfoBarDelegate* InfoBarDelegate::AsNativeAppInfoBarDelegate() { 93 NativeAppInfoBarDelegate* InfoBarDelegate::AsNativeAppInfoBarDelegate() {
94 return nullptr; 94 return nullptr;
95 } 95 }
96 96
97 PermissionInfobarDelegate* InfoBarDelegate::AsPermissionInfobarDelegate() { 97 PermissionInfoBarDelegate* InfoBarDelegate::AsPermissionInfoBarDelegate() {
98 return nullptr; 98 return nullptr;
99 } 99 }
100 100
101 PopupBlockedInfoBarDelegate* InfoBarDelegate::AsPopupBlockedInfoBarDelegate() { 101 PopupBlockedInfoBarDelegate* InfoBarDelegate::AsPopupBlockedInfoBarDelegate() {
102 return nullptr; 102 return nullptr;
103 } 103 }
104 104
105 RegisterProtocolHandlerInfoBarDelegate* 105 RegisterProtocolHandlerInfoBarDelegate*
106 InfoBarDelegate::AsRegisterProtocolHandlerInfoBarDelegate() { 106 InfoBarDelegate::AsRegisterProtocolHandlerInfoBarDelegate() {
107 return nullptr; 107 return nullptr;
(...skipping 27 matching lines...) Expand all
135 MediaThrottleInfoBarDelegate* 135 MediaThrottleInfoBarDelegate*
136 InfoBarDelegate::AsMediaThrottleInfoBarDelegate() { 136 InfoBarDelegate::AsMediaThrottleInfoBarDelegate() {
137 return nullptr; 137 return nullptr;
138 } 138 }
139 #endif 139 #endif
140 140
141 InfoBarDelegate::InfoBarDelegate() : nav_entry_id_(0) { 141 InfoBarDelegate::InfoBarDelegate() : nav_entry_id_(0) {
142 } 142 }
143 143
144 } // namespace infobars 144 } // namespace infobars
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698