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

Unified Diff: ios/chrome/browser/ui/webui/history/metrics_handler.cc

Issue 2013853002: Removing deprecated ios/web/user_metrics.cc and references to it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing ios_web.gyp Created 4 years, 7 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
« no previous file with comments | « ios/chrome/browser/crash_report/crash_report_background_uploader.mm ('k') | ios/web/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/webui/history/metrics_handler.cc
diff --git a/ios/chrome/browser/ui/webui/history/metrics_handler.cc b/ios/chrome/browser/ui/webui/history/metrics_handler.cc
index 32aee402491f379fc6c99e80eb35afac39029038..2557f9142604cd653984ab02e522914db00c2dfa 100644
--- a/ios/chrome/browser/ui/webui/history/metrics_handler.cc
+++ b/ios/chrome/browser/ui/webui/history/metrics_handler.cc
@@ -8,10 +8,10 @@
#include "base/bind_helpers.h"
#include "base/logging.h"
#include "base/metrics/histogram.h"
+#include "base/metrics/user_metrics.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "ios/public/provider/web/web_ui_ios.h"
-#include "ios/web/public/user_metrics.h"
using base::ListValue;
using base::UserMetricsAction;
@@ -31,7 +31,7 @@ void MetricsHandler::RegisterMessages() {
void MetricsHandler::HandleRecordAction(const base::ListValue* args) {
std::string string_action = base::UTF16ToUTF8(ExtractStringValue(args));
- web::RecordComputedAction(string_action);
+ base::RecordComputedAction(string_action);
}
void MetricsHandler::HandleRecordInHistogram(const base::ListValue* args) {
« no previous file with comments | « ios/chrome/browser/crash_report/crash_report_background_uploader.mm ('k') | ios/web/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698