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(); |