/external/chromium_org/components/policy/core/common/ |
D | policy_loader_mac_unittest.cc | 42 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 …]
|
D | config_dir_policy_loader_unittest.cc | 41 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 …]
|
D | policy_loader_ios_unittest.mm | 44 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 …]
|
D | configuration_policy_provider_test.h | 88 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;
|
D | policy_loader_win_unittest.cc | 184 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 …]
|
D | schema_map.cc | 74 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()
|
D | policy_loader_mac.cc | 148 scoped_ptr<base::Value> policy_value = PropertyToValue(value); in LoadPolicyForComponent() local 149 if (policy_value) { in LoadPolicyForComponent() 151 policy_value.release(), NULL); in LoadPolicyForComponent()
|
D | policy_loader_win.cc | 318 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/ |
D | cloud_policy_manager_unittest.cc | 44 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/ |
D | login_profile_policy_provider.cc | 173 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()
|
D | network_configuration_updater.cc | 77 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()
|
D | configuration_policy_handler_chromeos.cc | 318 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()
|
D | device_local_account_policy_service.cc | 187 const base::Value* policy_value = in UpdateRefreshDelay() local 190 if (policy_value && policy_value->GetAsInteger(&delay)) in UpdateRefreshDelay()
|
/external/chromium_org/chrome/browser/net/ |
D | proxy_policy_handler.cc | 219 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/ |
D | chrome_browser_policy_connector.cc | 139 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/ |
D | policy_watcher_mac.mm | 68 CFStringRef policy_value = base::mac::CFCast<CFStringRef>( 70 if (policy_value != NULL) { 72 base::SysCFStringRefToUTF8(policy_value));
|
/external/chromium_org/components/search_engines/ |
D | default_search_policy_handler.cc | 29 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/ |
D | chrome_launcher_controller_unittest.cc | 961 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/ |
D | policy_handlers.cc | 128 const base::Value* policy_value, in ParseList() argument 131 if (!policy_value) in ParseList() 135 if (!policy_value->GetAsList(&policy_list_value)) { in ParseList()
|
D | policy_handlers.h | 63 bool ParseList(const base::Value* policy_value,
|
/external/chromium_org/chromeos/network/ |
D | client_cert_resolver_unittest.cc | 213 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/ |
D | device_settings_cache_unittest.cc | 43 pol.ParseFromString(policy_out.policy_value()); in TEST_F()
|
/external/chromium_org/components/policy/proto/ |
D | chrome_extension_policy.proto | 13 // that contains the ExternalPolicyData in its |policy_value| field.
|
/external/chromium_org/components/policy/core/browser/ |
D | configuration_policy_handler.cc | 157 const char* policy_value, scoped_ptr<base::Value> map) in MappingEntry() argument 158 : enum_value(policy_value), mapped_value(map.Pass()) {} in MappingEntry()
|
D | configuration_policy_handler.h | 172 MappingEntry(const char* policy_value, scoped_ptr<base::Value> map);
|