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

Unified Diff: chrome/browser/ui/views/profiles/profile_chooser_view.cc

Issue 2771233002: Remove the wrapper functions content::RecordAction et al (Closed)
Patch Set: Rebased Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/profiles/profile_chooser_view.cc
diff --git a/chrome/browser/ui/views/profiles/profile_chooser_view.cc b/chrome/browser/ui/views/profiles/profile_chooser_view.cc
index 6ac934cdf97dcb1d981364df77a97fac35857f4f..f93179d284f8bb339742b208ee448242f9e65d1d 100644
--- a/chrome/browser/ui/views/profiles/profile_chooser_view.cc
+++ b/chrome/browser/ui/views/profiles/profile_chooser_view.cc
@@ -52,7 +52,6 @@
#include "components/signin/core/common/profile_management_switches.h"
#include "components/sync/driver/sync_error_controller.h"
#include "content/public/browser/render_widget_host_view.h"
-#include "content/public/browser/user_metrics.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/material_design/material_design_controller.h"
@@ -1428,7 +1427,7 @@ views::View* ProfileChooserView::CreateCurrentProfileView(
IDS_SYNC_START_SYNC_BUTTON_LABEL,
l10n_util::GetStringUTF16(IDS_SHORT_PRODUCT_NAME)));
extra_links_view->AddChildView(signin_current_profile_button_);
- content::RecordAction(
+ base::RecordAction(
base::UserMetricsAction("Signin_Impression_FromAvatarBubbleSignin"));
extra_links_view->SetBorder(views::CreateEmptyBorder(
0, 0, views::kRelatedControlSmallVerticalSpacing, 0));

Powered by Google App Engine
This is Rietveld 408576698