/external/chromium/chrome/browser/policy/ |
configuration_policy_provider_delegate_win.cc | 92 RegKey policy_key(HKEY_LOCAL_MACHINE, kRegistrySubKey, KEY_READ); 94 if (ReadRegistryStringValue(&policy_key, name, result)) 98 if (policy_key.Open(HKEY_CURRENT_USER, kRegistrySubKey, 101 return ReadRegistryStringValue(&policy_key, name, result); 108 RegKey policy_key; local 109 if (policy_key.Open(HKEY_LOCAL_MACHINE, path.c_str(), KEY_READ) != 112 if (policy_key.Open(HKEY_CURRENT_USER, path.c_str(), KEY_READ) != 118 while (ReadRegistryStringValue(&policy_key, base::IntToString16(++index), 137 RegKey policy_key(HKEY_LOCAL_MACHINE, kRegistrySubKey, KEY_READ); 138 if (policy_key.ReadValueDW(value_name.c_str(), &value) == ERROR_SUCCESS) [all...] |
config_dir_policy_provider_unittest.cc | 109 const char* policy_key, 112 policy_key_(policy_key), 134 const char* policy_key() const { return policy_key_; } function in class:policy::ValueTestParams 140 const char* policy_key) { 141 return ValueTestParams(type, policy_key, Value::CreateStringValue("test")); 145 const char* policy_key) { 146 return ValueTestParams(type, policy_key, Value::CreateBooleanValue(true)); 150 const char* policy_key) { 151 return ValueTestParams(type, policy_key, Value::CreateIntegerValue(42)); 155 const char* policy_key) { [all...] |
/external/chromium_org/chrome_frame/test/ |
policy_settings_unittest.cc | 39 bool InitializePolicyKey(HKEY policy_root, RegKey* policy_key) { 40 EXPECT_EQ(ERROR_SUCCESS, policy_key->Create(policy_root, 42 return policy_key->Valid(); 45 void WritePolicyList(RegKey* policy_key, 48 DCHECK(policy_key); 50 policy_key->DeleteKey(list_name); 53 EXPECT_EQ(ERROR_SUCCESS, list_key.Create(policy_key->Handle(), list_name, 65 RegKey policy_key; local 66 if (!InitializePolicyKey(policy_root, &policy_key)) 69 policy_key.WriteValue 86 RegKey policy_key; local 99 RegKey policy_key; local 112 RegKey policy_key; local [all...] |
/external/chromium_org/chrome/installer/util/ |
google_update_settings.cc | 543 RegKey policy_key; local 546 if (policy_key.Open(HKEY_LOCAL_MACHINE, kGoogleUpdatePoliciesKey, 557 found_override = (policy_key.ReadValueDW(app_update_override.c_str(), 563 policy_key.ReadValueDW(kGoogleUpdateUpdatePolicyValue,
|