summaryrefslogtreecommitdiffstats
path: root/components/onc
diff options
context:
space:
mode:
authorpneubeck <pneubeck@chromium.org>2014-09-09 06:16:13 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-09 13:20:24 +0000
commit49d77fc25ca944fcfb4a1e39862483656e208f85 (patch)
treeb0a60909d0f8183110d04cade0b3afa13d21d922 /components/onc
parent4c2d33ac8c061cf27a594473d6f9a450ee6c3c89 (diff)
downloadchromium_src-49d77fc25ca944fcfb4a1e39862483656e208f85.zip
chromium_src-49d77fc25ca944fcfb4a1e39862483656e208f85.tar.gz
chromium_src-49d77fc25ca944fcfb4a1e39862483656e208f85.tar.bz2
ONC: Remove augmentation of unmanaged network properties.
Before read-only properties which cannot be set by the user or policy, were explicitly marked as 'unmanaged' in the augmented dictionary returned by getManagedProperties. Now, instead these properties are returned as plain values, which simplifies the consumer side, especially of Array typed properties like IPConfigs (compare this with SavedIPConfig). BUG=410877 Review URL: https://codereview.chromium.org/551753002 Cr-Commit-Position: refs/heads/master@{#293931}
Diffstat (limited to 'components/onc')
-rw-r--r--components/onc/onc_constants.cc1
-rw-r--r--components/onc/onc_constants.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/components/onc/onc_constants.cc b/components/onc/onc_constants.cc
index 4970ec4..5aa0903 100644
--- a/components/onc/onc_constants.cc
+++ b/components/onc/onc_constants.cc
@@ -9,7 +9,6 @@ namespace onc {
const char kAugmentationActiveSetting[] = "Active";
const char kAugmentationEffectiveSetting[] = "Effective";
-const char kAugmentationUnmanaged[] = "Unmanaged";
const char kAugmentationUserPolicy[] = "UserPolicy";
const char kAugmentationDevicePolicy[] = "DevicePolicy";
const char kAugmentationUserSetting[] = "UserSetting";
diff --git a/components/onc/onc_constants.h b/components/onc/onc_constants.h
index 36ba348..0029ca7 100644
--- a/components/onc/onc_constants.h
+++ b/components/onc/onc_constants.h
@@ -29,7 +29,6 @@ ONC_EXPORT extern const char kAugmentationActiveSetting[];
// The one of different setting sources (user/device policy, user/shared
// settings) that has highest priority over the others.
ONC_EXPORT extern const char kAugmentationEffectiveSetting[];
-ONC_EXPORT extern const char kAugmentationUnmanaged[];
ONC_EXPORT extern const char kAugmentationUserPolicy[];
ONC_EXPORT extern const char kAugmentationDevicePolicy[];
ONC_EXPORT extern const char kAugmentationUserSetting[];