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

Unified Diff: chrome/browser/chromeos/settings/device_settings_provider.h

Issue 1411863002: Use kMetricsReportingEnabled instead of kStatsReporingPref on metrics side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add default value for device setting Created 5 years, 1 month 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
Index: chrome/browser/chromeos/settings/device_settings_provider.h
diff --git a/chrome/browser/chromeos/settings/device_settings_provider.h b/chrome/browser/chromeos/settings/device_settings_provider.h
index 4705e6176feefe80faa47e6bff9697e0eeb56199..c5eddfb912398299d495c6ea8dc42e0ecb42e4da 100644
--- a/chrome/browser/chromeos/settings/device_settings_provider.h
+++ b/chrome/browser/chromeos/settings/device_settings_provider.h
@@ -77,19 +77,11 @@ class DeviceSettingsProvider
const enterprise_management::ChromeDeviceSettingsProto& settings,
TrustedStatus trusted_status);
- // Applies the metrics policy and if not set migrates the legacy file.
- void ApplyMetricsSetting(bool use_file, bool new_value);
-
// Applies the data roaming policy.
void ApplyRoamingSetting(bool new_value);
void ApplyRoamingSettingFromProto(
const enterprise_management::ChromeDeviceSettingsProto& settings);
- // Applies any changes of the policies that are not handled by the respective
- // subsystems.
- void ApplySideEffects(
- const enterprise_management::ChromeDeviceSettingsProto& settings);
-
// In case of missing policy blob we should verify if this is upgrade of
// machine owned from pre version 12 OS and the user never touched the device
// settings. In this case revert to defaults and let people in until the owner
@@ -109,11 +101,6 @@ class DeviceSettingsProvider
// if new settings have been loaded.
bool UpdateFromService();
- // Checks the current ownership status to see whether the device owner is
- // logged in and writes the data accumulated in |migration_values_| to proper
- // device settings.
- void AttemptMigration();
-
// Pending callbacks that need to be invoked after settings verification.
std::vector<base::Closure> callbacks_;
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/chromeos/settings/device_settings_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698