| 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 be2bb1e6b2aca45800199ad1932df8989a50706c..393f7982858f00bd7a8d2333d0980f7034d0e90d 100644
|
| --- a/chrome/browser/chromeos/settings/device_settings_provider.cc
|
| +++ b/chrome/browser/chromeos/settings/device_settings_provider.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "chrome/browser/chromeos/settings/device_settings_provider.h"
|
|
|
| +#include <memory.h>
|
| #include <stddef.h>
|
| #include <utility>
|
|
|
| @@ -70,6 +71,7 @@ const char* const kKnownSettings[] = {
|
| kHeartbeatEnabled,
|
| kHeartbeatFrequency,
|
| kLoginAuthenticationBehavior,
|
| + kLoginVideoCaptureAllowedUrls,
|
| kPolicyMissingMitigationMode,
|
| kRebootOnShutdown,
|
| kReleaseChannel,
|
| @@ -270,6 +272,17 @@ void DecodeLoginPolicies(
|
| kLoginAuthenticationBehavior,
|
| policy.login_authentication_behavior().login_authentication_behavior());
|
| }
|
| +
|
| + if (policy.has_login_video_capture_allowed_urls()) {
|
| + std::unique_ptr<base::ListValue> list(new base::ListValue());
|
| + const em::LoginVideoCaptureAllowedUrlsProto&
|
| + login_video_capture_allowed_urls_proto =
|
| + policy.login_video_capture_allowed_urls();
|
| + for (const auto& value : login_video_capture_allowed_urls_proto.urls()) {
|
| + list->Append(new base::StringValue(value));
|
| + }
|
| + new_values_cache->SetValue(kLoginVideoCaptureAllowedUrls, std::move(list));
|
| + }
|
| }
|
|
|
| void DecodeNetworkPolicies(
|
| @@ -576,7 +589,6 @@ void DeviceSettingsProvider::DoSet(const std::string& path,
|
| return;
|
| }
|
| }
|
| -
|
| }
|
|
|
| void DeviceSettingsProvider::OwnershipStatusChanged() {
|
|
|