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

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view_cocoa.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/bookmarks/bookmark_bar_view_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view_cocoa.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view_cocoa.mm
index ce78d86d8cdc60f7f87db07ecb8cc6a5dc5e63d3..959b844c8ae0b4643798afc7eb3acb19fc008fdc 100644
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view_cocoa.mm
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view_cocoa.mm
@@ -4,6 +4,7 @@
#import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view_cocoa.h"
+#include "base/metrics/user_metrics.h"
#include "chrome/browser/profiles/profile.h"
#import "chrome/browser/themes/theme_properties.h"
#import "chrome/browser/themes/theme_service.h"
@@ -17,7 +18,6 @@
#include "chrome/grit/generated_resources.h"
#include "components/bookmarks/browser/bookmark_pasteboard_helper_mac.h"
#include "components/bookmarks/browser/bookmark_utils.h"
-#include "content/public/browser/user_metrics.h"
#import "third_party/mozilla/NSPasteboard+Utils.h"
#include "ui/base/clipboard/clipboard_util_mac.h"
#import "ui/base/cocoa/controls/hyperlink_button_cell.h"
@@ -324,7 +324,7 @@ static const CGFloat kTextFieldTrailingPadding = 5;
rtn = [controller_ dragButton:button
to:[info draggingLocation]
copy:copy];
- content::RecordAction(UserMetricsAction("BookmarkBar_DragEnd"));
+ base::RecordAction(UserMetricsAction("BookmarkBar_DragEnd"));
}
return rtn;
}

Powered by Google App Engine
This is Rietveld 408576698