| Index: chrome/browser/chromeos/dom_ui/core_chromeos_options_handler.cc
|
| ===================================================================
|
| --- chrome/browser/chromeos/dom_ui/core_chromeos_options_handler.cc (revision 57095)
|
| +++ chrome/browser/chromeos/dom_ui/core_chromeos_options_handler.cc (working copy)
|
| @@ -7,7 +7,6 @@
|
| #include "base/json/json_reader.h"
|
| #include "base/string_number_conversions.h"
|
| #include "chrome/browser/chromeos/cros_settings.h"
|
| -#include "chrome/browser/metrics/user_metrics.h"
|
| #include "chrome/common/notification_service.h"
|
|
|
| namespace chromeos {
|
| @@ -31,11 +30,9 @@
|
|
|
| void CoreChromeOSOptionsHandler::SetPref(const std::string& pref_name,
|
| Value::ValueType pref_type,
|
| - const std::string& value_string,
|
| - const std::string& metric) {
|
| + const std::string& value_string) {
|
| if (!CrosSettings::IsCrosSettings(pref_name))
|
| - return ::CoreOptionsHandler::SetPref(pref_name, pref_type, value_string,
|
| - metric);
|
| + return ::CoreOptionsHandler::SetPref(pref_name, pref_type, value_string);
|
|
|
| CrosSettings* cros_settings = CrosSettings::Get();
|
| switch (pref_type) {
|
| @@ -60,8 +57,6 @@
|
| break;
|
| }
|
| }
|
| -
|
| - ProcessUserMetric(pref_type, value_string, metric);
|
| }
|
|
|
| void CoreChromeOSOptionsHandler::Observe(NotificationType type,
|
|
|