Index: chrome/browser/ui/webui/options/chromeos/display_options_handler.cc |
diff --git a/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc b/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc |
index af0fed3657ee0cb783c81437887d4aaf0643a37c..8a6ec8e9333c58e8e7d953d7eb2f87e5a52e8d02 100644 |
--- a/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc |
+++ b/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc |
@@ -13,6 +13,7 @@ |
#include "ash/shell.h" |
#include "base/bind.h" |
#include "base/logging.h" |
+#include "base/metrics/user_metrics.h" |
#include "base/strings/string_number_conversions.h" |
#include "base/strings/stringprintf.h" |
#include "base/values.h" |
@@ -470,6 +471,8 @@ void DisplayOptionsHandler::HandleSetColorProfile(const base::ListValue* args) { |
return; |
} |
+ base::RecordAction(base::UserMetricsAction("ColorProfileChanged")); |
+ |
GetDisplayManager()->SetColorCalibrationProfile( |
display_id, static_cast<ui::ColorCalibrationProfile>(profile_id)); |
SendAllDisplayInfo(); |