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

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.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_button_cell.mm
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.mm
index 4a0ef76af8fd63a1c480b931aae42591b363dd4b..7bf527aca6a4f3297135523f07bbc6eb7b8cb11c 100644
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.mm
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.mm
@@ -5,13 +5,13 @@
#import "chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.h"
#include "base/logging.h"
+#include "base/metrics/user_metrics.h"
#include "base/strings/sys_string_conversions.h"
#include "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_constants.h"
#import "chrome/browser/ui/cocoa/bookmarks/bookmark_button.h"
#import "chrome/browser/ui/cocoa/bookmarks/bookmark_context_menu_cocoa_controller.h"
#include "chrome/grit/generated_resources.h"
#import "components/bookmarks/browser/bookmark_model.h"
-#include "content/public/browser/user_metrics.h"
#import "ui/base/cocoa/nsview_additions.h"
#include "ui/base/l10n/l10n_util_mac.h"
#include "ui/base/material_design/material_design_controller.h"
@@ -260,9 +260,9 @@ const int kDefaultFontSize = 12;
if (node && node->parent() &&
node->parent()->type() == BookmarkNode::FOLDER) {
- content::RecordAction(UserMetricsAction("BookmarkBarFolder_CtxMenu"));
+ base::RecordAction(UserMetricsAction("BookmarkBarFolder_CtxMenu"));
} else {
- content::RecordAction(UserMetricsAction("BookmarkBar_CtxMenu"));
+ base::RecordAction(UserMetricsAction("BookmarkBar_CtxMenu"));
}
return [menuController_ menuForBookmarkNode:node];
}

Powered by Google App Engine
This is Rietveld 408576698