Commit 694731dc authored by ygorshenin's avatar ygorshenin Committed by Commit bot

DeviceSettingsProvider::Decode*() methods are moved out to the anonymous namespace.

The purpose of the CL is to simplify DeviceSettingsProvider API, as Set() path should be moved out.

BUG=230018
TEST=none

Review URL: https://codereview.chromium.org/502993003

Cr-Commit-Position: refs/heads/master@{#291884}
parent e3fe689a
......@@ -69,26 +69,6 @@ class DeviceSettingsProvider : public CrosSettingsProvider,
// cache and is serialized once ownership is acquired.
void SetInPolicy();
// Decode the various groups of policies.
void DecodeLoginPolicies(
const enterprise_management::ChromeDeviceSettingsProto& policy,
PrefValueMap* new_values_cache) const;
void DecodeKioskPolicies(
const enterprise_management::ChromeDeviceSettingsProto& policy,
PrefValueMap* new_values_cache) const;
void DecodeNetworkPolicies(
const enterprise_management::ChromeDeviceSettingsProto& policy,
PrefValueMap* new_values_cache) const;
void DecodeAutoUpdatePolicies(
const enterprise_management::ChromeDeviceSettingsProto& policy,
PrefValueMap* new_values_cache) const;
void DecodeReportingPolicies(
const enterprise_management::ChromeDeviceSettingsProto& policy,
PrefValueMap* new_values_cache) const;
void DecodeGenericPolicies(
const enterprise_management::ChromeDeviceSettingsProto& policy,
PrefValueMap* new_values_cache) const;
// Parses the policy data and fills in |values_cache_|.
void UpdateValuesCache(
const enterprise_management::PolicyData& policy_data,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment