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

Unified Diff: chrome/browser/ui/webui/options/content_settings_handler.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/webui/options/content_settings_handler.cc
diff --git a/chrome/browser/ui/webui/options/content_settings_handler.cc b/chrome/browser/ui/webui/options/content_settings_handler.cc
index 491cb0b196770e809de1d4ad1d6fa0c3ae2a53fb..757ec244d3c5e7d3ae691d216fd6a4e6f4ee0761 100644
--- a/chrome/browser/ui/webui/options/content_settings_handler.cc
+++ b/chrome/browser/ui/webui/options/content_settings_handler.cc
@@ -18,6 +18,7 @@
#include "base/logging.h"
#include "base/macros.h"
#include "base/memory/ptr_util.h"
+#include "base/metrics/user_metrics.h"
#include "base/stl_util.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
@@ -64,7 +65,6 @@
#include "content/public/browser/notification_source.h"
#include "content/public/browser/notification_types.h"
#include "content/public/browser/storage_partition.h"
-#include "content/public/browser/user_metrics.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_ui.h"
#include "content/public/common/content_switches.h"
@@ -1262,7 +1262,7 @@ void ContentSettingsHandler::SetContentFilter(const base::ListValue* args) {
const ExceptionsInfoMap& exceptions_info_map = GetExceptionsInfoMap();
const auto& it = exceptions_info_map.find(content_type);
if (it != exceptions_info_map.end())
- content::RecordAction(it->second.uma);
+ base::RecordAction(it->second.uma);
}
void ContentSettingsHandler::RemoveException(const base::ListValue* args) {

Powered by Google App Engine
This is Rietveld 408576698