Home
last modified time | relevance | path

Searched refs:policy_value (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium_org/components/policy/core/common/
Dpolicy_loader_mac_unittest.cc42 const std::string& policy_value) OVERRIDE;
44 int policy_value) OVERRIDE;
46 bool policy_value) OVERRIDE;
49 const base::ListValue* policy_value) OVERRIDE;
52 const base::DictionaryValue* policy_value) OVERRIDE;
81 const std::string& policy_value) { in InstallStringPolicy() argument
83 ScopedCFTypeRef<CFStringRef> value(base::SysUTF8ToCFStringRef(policy_value)); in InstallStringPolicy()
88 int policy_value) { in InstallIntegerPolicy() argument
91 CFNumberCreate(NULL, kCFNumberIntType, &policy_value)); in InstallIntegerPolicy()
96 bool policy_value) { in InstallBooleanPolicy() argument
[all …]
Dconfig_dir_policy_loader_unittest.cc41 const std::string& policy_value) OVERRIDE;
43 int policy_value) OVERRIDE;
45 bool policy_value) OVERRIDE;
48 const base::ListValue* policy_value) OVERRIDE;
51 const base::DictionaryValue* policy_value) OVERRIDE;
98 const std::string& policy_value) { in InstallStringPolicy() argument
100 dict.SetString(policy_name, policy_value); in InstallStringPolicy()
105 int policy_value) { in InstallIntegerPolicy() argument
107 dict.SetInteger(policy_name, policy_value); in InstallIntegerPolicy()
112 bool policy_value) { in InstallBooleanPolicy() argument
[all …]
Dpolicy_loader_ios_unittest.mm44 const std::string& policy_value) OVERRIDE;
46 int policy_value) OVERRIDE;
48 bool policy_value) OVERRIDE;
51 const base::ListValue* policy_value) OVERRIDE;
54 const base::DictionaryValue* policy_value) OVERRIDE;
98 const std::string& policy_value) {
100 NSString* value = base::SysUTF8ToNSString(policy_value);
107 int policy_value) {
110 key: [NSNumber numberWithInt:policy_value]
115 bool policy_value) {
[all …]
Dconfiguration_policy_provider_test.h88 const std::string& policy_value) = 0;
90 int policy_value) = 0;
92 bool policy_value) = 0;
94 const base::ListValue* policy_value) = 0;
97 const base::DictionaryValue* policy_value) = 0;
Dpolicy_loader_win_unittest.cc184 const std::string& policy_value) OVERRIDE;
186 int policy_value) OVERRIDE;
188 bool policy_value) OVERRIDE;
191 const base::ListValue* policy_value) OVERRIDE;
194 const base::DictionaryValue* policy_value) OVERRIDE;
235 const std::string& policy_value) OVERRIDE;
237 int policy_value) OVERRIDE;
239 bool policy_value) OVERRIDE;
242 const base::ListValue* policy_value) OVERRIDE;
245 const base::DictionaryValue* policy_value) OVERRIDE;
[all …]
Dschema_map.cc74 const base::Value* policy_value = it_map->second.value; in FilterBundle() local
79 if (!policy_value || in FilterBundle()
80 !policy_schema.Validate(*policy_value, in FilterBundle()
Dpolicy_loader_mac.cc148 scoped_ptr<base::Value> policy_value = PropertyToValue(value); in LoadPolicyForComponent() local
149 if (policy_value) { in LoadPolicyForComponent()
151 policy_value.release(), NULL); in LoadPolicyForComponent()
Dpolicy_loader_win.cc318 scoped_ptr<base::Value> policy_value(gpo_dict->ConvertToJSON(schema)); in ParsePolicy() local
320 if (!policy_value->GetAsDictionary(&policy_dict) || !policy_dict) { in ParsePolicy()
/external/chromium_org/components/policy/core/common/cloud/
Dcloud_policy_manager_unittest.cc44 const std::string& policy_value) OVERRIDE;
46 int policy_value) OVERRIDE;
48 bool policy_value) OVERRIDE;
51 const base::ListValue* policy_value) OVERRIDE;
54 const base::DictionaryValue* policy_value) OVERRIDE;
91 const std::string& policy_value) { in InstallStringPolicy() argument
95 new base::StringValue(policy_value), in InstallStringPolicy()
100 int policy_value) { in InstallIntegerPolicy() argument
104 new base::FundamentalValue(policy_value), in InstallIntegerPolicy()
109 bool policy_value) { in InstallBooleanPolicy() argument
[all …]
/external/chromium_org/chrome/browser/chromeos/policy/
Dlogin_profile_policy_provider.cc173 scoped_ptr<base::DictionaryValue> policy_value(dict->DeepCopy()); in UpdateFromDevicePolicy() local
177 if (policy_value->GetString(kLidCloseAction, &lid_close_action)) { in UpdateFromDevicePolicy()
183 policy_value->Remove(kLidCloseAction, NULL); in UpdateFromDevicePolicy()
186 if (policy_value->Get(kUserActivityScreenDimDelayScale, in UpdateFromDevicePolicy()
191 policy_value->Remove(kUserActivityScreenDimDelayScale, NULL); in UpdateFromDevicePolicy()
196 if (!policy_value->empty()) { in UpdateFromDevicePolicy()
197 ApplyValueAsMandatoryPolicy(policy_value.get(), in UpdateFromDevicePolicy()
Dnetwork_configuration_updater.cc77 const base::Value* policy_value = policies.GetValue(policy_key_); in ApplyPolicy() local
80 if (!policy_value) in ApplyPolicy()
82 else if (!policy_value->GetAsString(&onc_blob)) in ApplyPolicy()
Dconfiguration_policy_handler_chromeos.cc318 const base::Value* policy_value = policies.GetValue(policy_name()); in ApplyPolicySettings() local
320 if (policy_value && policy_value->GetAsList(&policy_list) && policy_list) { in ApplyPolicySettings()
408 scoped_ptr<base::Value> policy_value; in ApplyPolicySettings() local
409 if (!CheckAndGetValue(policies, NULL, &policy_value)) in ApplyPolicySettings()
412 if (!policy_value->GetAsDictionary(&dict)) { in ApplyPolicySettings()
465 scoped_ptr<base::Value> policy_value; in ApplyPolicySettings() local
466 if (!CheckAndGetValue(policies, NULL, &policy_value)) in ApplyPolicySettings()
469 if (!policy_value->GetAsDictionary(&dict)) { in ApplyPolicySettings()
Ddevice_local_account_policy_service.cc187 const base::Value* policy_value = in UpdateRefreshDelay() local
190 if (policy_value && policy_value->GetAsInteger(&delay)) in UpdateRefreshDelay()
/external/chromium_org/chrome/browser/net/
Dproxy_policy_handler.cc219 const base::Value* policy_value = NULL; in GetProxyPolicyValue() local
221 if (!settings->Get(policy_name, &policy_value) || in GetProxyPolicyValue()
222 policy_value->IsType(base::Value::TYPE_NULL) || in GetProxyPolicyValue()
223 (policy_value->IsType(base::Value::TYPE_STRING) && in GetProxyPolicyValue()
224 policy_value->GetAsString(&tmp) && in GetProxyPolicyValue()
228 return policy_value; in GetProxyPolicyValue()
/external/chromium_org/chrome/browser/policy/
Dchrome_browser_policy_connector.cc139 const base::Value* policy_value = in AppendExtraFlagPerPolicy() local
143 if (policy_value && policy_value->GetAsBoolean(&enabled) && enabled && in AppendExtraFlagPerPolicy()
/external/chromium_org/remoting/host/policy_hack/
Dpolicy_watcher_mac.mm68 CFStringRef policy_value = base::mac::CFCast<CFStringRef>(
70 if (policy_value != NULL) {
72 base::SysCFStringRefToUTF8(policy_value));
/external/chromium_org/components/search_engines/
Ddefault_search_policy_handler.cc29 const base::Value* policy_value = policies.GetValue(policy_name); in SetListInPref() local
31 if (policy_value) { in SetListInPref()
32 bool is_list = policy_value->GetAsList(&policy_list); in SetListInPref()
44 const base::Value* policy_value = policies.GetValue(policy_name); in SetStringInPref() local
46 if (policy_value) { in SetStringInPref()
47 bool is_string = policy_value->GetAsString(&str); in SetStringInPref()
/external/chromium_org/chrome/browser/ui/ash/launcher/
Dchrome_launcher_controller_unittest.cc961 base::ListValue policy_value; in TEST_F() local
962 InsertPrefValue(&policy_value, 0, extension1_->id()); in TEST_F()
963 InsertPrefValue(&policy_value, 1, extension2_->id()); in TEST_F()
964 InsertPrefValue(&policy_value, 2, extension3_->id()); in TEST_F()
966 policy_value.DeepCopy()); in TEST_F()
1000 base::ListValue policy_value; in TEST_F() local
1001 InsertPrefValue(&policy_value, 0, extension1_->id()); in TEST_F()
1002 InsertPrefValue(&policy_value, 1, extension2_->id()); in TEST_F()
1003 InsertPrefValue(&policy_value, 2, extension3_->id()); in TEST_F()
1005 policy_value.DeepCopy()); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/extensions/
Dpolicy_handlers.cc128 const base::Value* policy_value, in ParseList() argument
131 if (!policy_value) in ParseList()
135 if (!policy_value->GetAsList(&policy_list_value)) { in ParseList()
Dpolicy_handlers.h63 bool ParseList(const base::Value* policy_value,
/external/chromium_org/chromeos/network/
Dclient_cert_resolver_unittest.cc213 scoped_ptr<base::Value> policy_value(base::JSONReader::ReadAndReturnError( in SetupPolicy() local
215 ASSERT_TRUE(policy_value) << error; in SetupPolicy()
218 ASSERT_TRUE(policy_value->GetAsList(&policy)); in SetupPolicy()
/external/chromium_org/chrome/browser/chromeos/settings/
Ddevice_settings_cache_unittest.cc43 pol.ParseFromString(policy_out.policy_value()); in TEST_F()
/external/chromium_org/components/policy/proto/
Dchrome_extension_policy.proto13 // that contains the ExternalPolicyData in its |policy_value| field.
/external/chromium_org/components/policy/core/browser/
Dconfiguration_policy_handler.cc157 const char* policy_value, scoped_ptr<base::Value> map) in MappingEntry() argument
158 : enum_value(policy_value), mapped_value(map.Pass()) {} in MappingEntry()
Dconfiguration_policy_handler.h172 MappingEntry(const char* policy_value, scoped_ptr<base::Value> map);

12