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

Unified Diff: trunk/src/chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.h

Issue 102163002: Revert 238283 "Infobar system refactor." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years 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
Index: trunk/src/chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.h
===================================================================
--- trunk/src/chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.h (revision 238401)
+++ trunk/src/chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.h (working copy)
@@ -16,16 +16,17 @@
// card information gathered from a form submission.
class RegisterProtocolHandlerInfoBarDelegate : public ConfirmInfoBarDelegate {
public:
- // Creates a new register protocol handler infobar and delegate. Searches
- // |infobar_service| for an existing infobar for the same |handler|; replaces
- // it with the new infobar if found, otherwise adds the new infobar to
+ // Creates a new register protocol handler infobar delegate. Searches
+ // |infobar_service| for an existing delegate for the same |handler|; replaces
+ // it with the new delegate if found, otherwise adds the new infobar to
// |infobar_service|.
static void Create(InfoBarService* infobar_service,
ProtocolHandlerRegistry* registry,
const ProtocolHandler& handler);
private:
- RegisterProtocolHandlerInfoBarDelegate(ProtocolHandlerRegistry* registry,
+ RegisterProtocolHandlerInfoBarDelegate(InfoBarService* infobar_service,
+ ProtocolHandlerRegistry* registry,
const ProtocolHandler& handler);
virtual ~RegisterProtocolHandlerInfoBarDelegate();

Powered by Google App Engine
This is Rietveld 408576698