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

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_view.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_folder_view.mm
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_view.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_view.mm
index e2c8c93464b017ce5bfa6ecde59560705954fdde..947adde1b6da4ff3b55a5ab2fdf01a9a67f7b9cf 100644
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_view.mm
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_view.mm
@@ -4,13 +4,13 @@
#import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_view.h"
+#include "base/metrics/user_metrics.h"
#include "chrome/browser/profiles/profile.h"
#import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h"
#import "chrome/browser/ui/cocoa/bookmarks/bookmark_folder_target.h"
#import "chrome/browser/ui/cocoa/browser_window_controller.h"
#include "components/bookmarks/browser/bookmark_pasteboard_helper_mac.h"
#include "components/bookmarks/browser/bookmark_utils.h"
-#include "content/public/browser/user_metrics.h"
using base::UserMetricsAction;
using bookmarks::BookmarkModel;
@@ -177,7 +177,7 @@ using bookmarks::BookmarkNode;
doDrag = [[self controller] dragButton:button
to:[info draggingLocation]
copy:copy];
- content::RecordAction(UserMetricsAction("BookmarkBarFolder_DragEnd"));
+ base::RecordAction(UserMetricsAction("BookmarkBarFolder_DragEnd"));
}
return doDrag;
}

Powered by Google App Engine
This is Rietveld 408576698