Index: chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc |
diff --git a/chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc b/chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc |
index 806ad1b13636d31d0d690f103b6452f3701ab68e..e3f165326d577b2f752fe8b696cf3ae5f992b3d6 100644 |
--- a/chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc |
+++ b/chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc |
@@ -70,15 +70,15 @@ bool RegisterProtocolHandlerInfoBarDelegate::NeedElevation( |
} |
bool RegisterProtocolHandlerInfoBarDelegate::Accept() { |
- UserMetrics::RecordAction(UserMetricsAction( |
- "RegisterProtocolHandler.Infobar_Accept")); |
+ UserMetrics::RecordAction( |
+ UserMetricsAction("RegisterProtocolHandler.Infobar_Accept")); |
registry_->OnAcceptRegisterProtocolHandler(handler_); |
return true; |
} |
bool RegisterProtocolHandlerInfoBarDelegate::Cancel() { |
- UserMetrics::RecordAction(UserMetricsAction( |
- "RegisterProtocolHandler.InfoBar_Deny")); |
+ UserMetrics::RecordAction( |
+ UserMetricsAction("RegisterProtocolHandler.InfoBar_Deny")); |
registry_->OnIgnoreRegisterProtocolHandler(handler_); |
return true; |
} |
@@ -89,8 +89,8 @@ string16 RegisterProtocolHandlerInfoBarDelegate::GetLinkText() const { |
bool RegisterProtocolHandlerInfoBarDelegate::LinkClicked( |
WindowOpenDisposition disposition) { |
- UserMetrics::RecordAction(UserMetricsAction( |
- "RegisterProtocolHandler.InfoBar_LearnMore")); |
+ UserMetrics::RecordAction( |
+ UserMetricsAction("RegisterProtocolHandler.InfoBar_LearnMore")); |
tab_contents_->OpenURL(google_util::AppendGoogleLocaleParam(GURL( |
chrome::kLearnMoreRegisterProtocolHandlerURL)), GURL(), |
(disposition == CURRENT_TAB) ? NEW_FOREGROUND_TAB : disposition, |