Index: chrome/browser/ui/webui/app_launcher_login_handler.cc |
diff --git a/chrome/browser/ui/webui/app_launcher_login_handler.cc b/chrome/browser/ui/webui/app_launcher_login_handler.cc |
index 04984c6063a57a07e71dd5ccaaf61aeca62ad9cb..56d3c93aa92af063a282bab288db77a15a8f318b 100644 |
--- a/chrome/browser/ui/webui/app_launcher_login_handler.cc |
+++ b/chrome/browser/ui/webui/app_launcher_login_handler.cc |
@@ -11,6 +11,7 @@ |
#include "base/bind.h" |
#include "base/bind_helpers.h" |
#include "base/metrics/histogram_macros.h" |
+#include "base/metrics/user_metrics.h" |
#include "base/strings/utf_string_conversions.h" |
#include "base/values.h" |
#include "build/build_config.h" |
@@ -36,7 +37,6 @@ |
#include "components/prefs/pref_service.h" |
#include "components/signin/core/browser/signin_manager.h" |
#include "content/public/browser/host_zoom_map.h" |
-#include "content/public/browser/user_metrics.h" |
#include "content/public/browser/web_contents.h" |
#include "content/public/browser/web_ui.h" |
#include "content/public/common/page_zoom.h" |
@@ -210,7 +210,7 @@ void AppLauncherLoginHandler::UpdateLogin() { |
sub_header = l10n_util::GetStringFUTF16( |
IDS_SYNC_PROMO_NOT_SIGNED_IN_STATUS_SUB_HEADER, signed_in_link); |
- content::RecordAction( |
+ base::RecordAction( |
web_ui()->GetWebContents()->GetURL().spec() == |
chrome::kChromeUIAppsURL |
? base::UserMetricsAction("Signin_Impression_FromAppsPageLink") |