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

Unified Diff: chrome/browser/ui/webui/options2/chromeos/stats_options_handler.cc

Issue 8907049: Fix CrOS Official build from options2 copy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options2/chromeos/stats_options_handler.cc
diff --git a/chrome/browser/ui/webui/options2/chromeos/stats_options_handler.cc b/chrome/browser/ui/webui/options2/chromeos/stats_options_handler.cc
index 4fc40d9014aa9e88ef4c9b2693f98ade594ef5bc..610b01adaae8b8f7a3f2d0d0550990c1edf0dbd5 100644
--- a/chrome/browser/ui/webui/options2/chromeos/stats_options_handler.cc
+++ b/chrome/browser/ui/webui/options2/chromeos/stats_options_handler.cc
@@ -10,6 +10,8 @@
#include "base/values.h"
#include "content/public/browser/user_metrics.h"
+using content::UserMetricsAction;
+
namespace chromeos {
StatsOptionsHandler::StatsOptionsHandler() {
@@ -35,7 +37,7 @@ void StatsOptionsHandler::HandleMetricsReportingCheckbox(
#if defined(GOOGLE_CHROME_BUILD)
const std::string checked_str = UTF16ToUTF8(ExtractStringValue(args));
const bool enabled = (checked_str == "true");
- UserMetrics::RecordAction(
+ content::RecordAction(
enabled ?
UserMetricsAction("Options_MetricsReportingCheckbox_Enable") :
UserMetricsAction("Options_MetricsReportingCheckbox_Disable"));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698