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

Unified Diff: chrome/browser/ui/cocoa/passwords/signin_promo_view_controller.mm

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/cocoa/passwords/signin_promo_view_controller.mm
diff --git a/chrome/browser/ui/cocoa/passwords/signin_promo_view_controller.mm b/chrome/browser/ui/cocoa/passwords/signin_promo_view_controller.mm
index d04bf5865e47c8a0ecc7e7ff9da5e261320fa34c..1c0cfb10bae38b7f06ef41c6cb17ceb2804a09d1 100644
--- a/chrome/browser/ui/cocoa/passwords/signin_promo_view_controller.mm
+++ b/chrome/browser/ui/cocoa/passwords/signin_promo_view_controller.mm
@@ -5,12 +5,12 @@
#import "chrome/browser/ui/cocoa/passwords/signin_promo_view_controller.h"
#include "base/mac/scoped_nsobject.h"
+#include "base/metrics/user_metrics.h"
#include "chrome/browser/ui/cocoa/chrome_style.h"
#import "chrome/browser/ui/cocoa/hover_close_button.h"
#include "chrome/browser/ui/cocoa/passwords/passwords_bubble_utils.h"
#include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h"
#include "chrome/grit/generated_resources.h"
-#include "content/public/browser/user_metrics.h"
#import "ui/base/cocoa/controls/hyperlink_text_view.h"
#include "ui/base/l10n/l10n_util_mac.h"
@@ -100,7 +100,7 @@
[_closeButton setFrameOrigin:closeButtonOrigin];
[view setFrame:NSMakeRect(0, 0, kDesiredBubbleWidth, height)];
[self setView:view];
- content::RecordAction(
+ base::RecordAction(
base::UserMetricsAction("Signin_Impression_FromPasswordBubble"));
}

Powered by Google App Engine
This is Rietveld 408576698