Chromium Code Reviews| Index: chrome/browser/chromeos/settings/device_settings_provider.cc |
| diff --git a/chrome/browser/chromeos/settings/device_settings_provider.cc b/chrome/browser/chromeos/settings/device_settings_provider.cc |
| index 3b2b3f318b02f1d92a6a22e9d0e40e4f6ee2dc85..7894f698a765ec7a553c6e5d038a471b3326e8c1 100644 |
| --- a/chrome/browser/chromeos/settings/device_settings_provider.cc |
| +++ b/chrome/browser/chromeos/settings/device_settings_provider.cc |
| @@ -848,7 +848,8 @@ void DeviceSettingsProvider::ApplyMetricsSetting(bool use_file, |
| << "(use file : " << use_file << ")"; |
| // TODO(pastarmovj): Remove this once we don't need to regenerate the |
| // consent file for the GUID anymore. |
| - ResolveMetricsReportingEnabled(new_value); |
| + base::Callback<void(bool)> callback_fn; |
|
Alexei Svitkine (slow)
2014/09/04 13:58:03
Nit: Just inline this into the call.
gayane -on leave until 09-2017
2014/09/04 18:35:46
Done.
|
| + InitiateMetricsReportingChange(callback_fn, new_value); |
| } |
| void DeviceSettingsProvider::ApplySideEffects( |