/external/chromium_org/chrome/installer/util/ |
H A D | registry_test_data.h | 29 bool Initialize(HKEY root_key, const wchar_t* base_path); 36 void ExpectMatchesNonEmptyKey(HKEY root_key, const wchar_t* path); 38 HKEY root_key() const { return root_key_; } function in class:RegistryTestData 45 static void ExpectEmptyKey(HKEY root_key, const wchar_t* path); 48 static bool DeleteKey(HKEY root_key, const wchar_t* path);
|
H A D | registry_test_data.cc | 22 bool RegistryTestData::DeleteKey(HKEY root_key, const wchar_t* path) { argument 24 if (root_key != NULL && path != NULL && *path != L'\0') { 25 result = RegKey(root_key, L"", KEY_QUERY_VALUE).DeleteKey(path); 47 bool RegistryTestData::Initialize(HKEY root_key, const wchar_t* base_path) { argument 53 if (DeleteKey(root_key, base_path)) { 55 root_key_ = root_key; 83 void RegistryTestData::ExpectMatchesNonEmptyKey(HKEY root_key, argument 87 EXPECT_EQ(ERROR_SUCCESS, key.Open(root_key, path, KEY_READ)); 98 void RegistryTestData::ExpectEmptyKey(HKEY root_key, const wchar_t* path) { argument 102 EXPECT_EQ(ERROR_SUCCESS, key.Open(root_key, pat [all...] |
H A D | google_update_util.cc | 44 const HKEY root_key = system_install ? HKEY_LOCAL_MACHINE : HKEY_CURRENT_USER; local 47 if (update_key.Open(root_key, kRegPathGoogleUpdate, KEY_QUERY_VALUE) ==
|
H A D | google_chrome_distribution_dummy.cc | 88 base::string16 GoogleChromeDistribution::GetDistributionData(HKEY root_key) { argument
|
H A D | installation_state.cc | 54 const HKEY root_key = system_install ? HKEY_LOCAL_MACHINE : HKEY_CURRENT_USER; local 61 if (key.Open(root_key, version_key.c_str(), kAccess) == ERROR_SUCCESS) { 86 if (key.Open(root_key, state_key.c_str(), kAccess) == ERROR_SUCCESS) { 127 key.Open(root_key, distribution->GetStateMediumKey().c_str(), kAccess) ==
|
H A D | browser_distribution.cc | 254 base::string16 BrowserDistribution::GetDistributionData(HKEY root_key) { argument
|
H A D | google_chrome_distribution.cc | 199 base::string16 GoogleChromeDistribution::GetDistributionData(HKEY root_key) { argument 205 root_key, sub_key.c_str(), KEY_READ | KEY_WOW64_32KEY);
|
H A D | installer_state.h | 134 HKEY root_key() const { return root_key_; } function in class:installer::InstallerState
|
H A D | google_update_settings.cc | 151 HKEY root_key = system_install ? HKEY_LOCAL_MACHINE : HKEY_CURRENT_USER; local 154 RegKey key(root_key, dist->GetStateKey().c_str(), 281 HKEY root_key = system_install ? HKEY_LOCAL_MACHINE : HKEY_CURRENT_USER; local 286 root_key, reg_path.c_str(), KEY_SET_VALUE | KEY_WOW64_32KEY); 766 const HKEY root_key = system_install ? HKEY_LOCAL_MACHINE : HKEY_CURRENT_USER; local 770 if (update_key.Open(root_key, google_update::kRegPathGoogleUpdate, 779 const HKEY root_key = system_install ? HKEY_LOCAL_MACHINE : HKEY_CURRENT_USER; local 783 if (key.Open(root_key, 796 const HKEY root_key = system_install ? HKEY_LOCAL_MACHINE : HKEY_CURRENT_USER; local 799 if (update_key.Open(root_key, 814 const HKEY root_key = system_install ? HKEY_LOCAL_MACHINE : HKEY_CURRENT_USER; local 838 const HKEY root_key = system_install ? HKEY_LOCAL_MACHINE : HKEY_CURRENT_USER; local [all...] |
H A D | google_update_settings_unittest.cc | 1014 HKEY root_key() const { function in class:StatsState 1044 static void MakeChromeMultiInstall(HKEY root_key); 1046 HKEY root_key, 1088 const HKEY root_key = stats_state.root_key(); local 1092 override_manager_.OverrideRegistry(root_key); 1095 MakeChromeMultiInstall(root_key); 1096 ApplySetting(stats_state.state_value(), root_key, *binaries_state_key_); 1097 ApplySetting(stats_state.state_medium_value(), root_key, 1100 ApplySetting(stats_state.state_value(), root_key, *chrome_state_key 1108 MakeChromeMultiInstall(HKEY root_key) argument 1122 ApplySetting(StatsState::StateSetting setting, HKEY root_key, const base::string16& reg_key) argument [all...] |
H A D | install_util.cc | 442 bool InstallUtil::DeleteRegistryKey(HKEY root_key, argument 447 LONG result = target_key.Open(root_key, key_path.c_str(), 486 HKEY root_key, 492 DCHECK(root_key); 496 if (key.Open(root_key, key_to_test_path.c_str(), 501 delete_result = DeleteRegistryKey(root_key, 511 HKEY root_key, 516 DCHECK(root_key); 521 if (key.Open(root_key, key_path, 485 DeleteRegistryKeyIf( HKEY root_key, const base::string16& key_to_delete_path, const base::string16& key_to_test_path, const REGSAM wow64_access, const wchar_t* value_name, const RegistryValuePredicate& predicate) argument 510 DeleteRegistryValueIf( HKEY root_key, const wchar_t* key_path, REGSAM wow64_access, const wchar_t* value_name, const RegistryValuePredicate& predicate) argument
|
H A D | shell_util.cc | 1018 HKEY root_key = DetermineRegistrationRoot(is_per_user_install); local 1029 InstallUtil::DeleteRegistryKey(root_key, run_verb_key, 1121 const HKEY root_key = HKEY_CLASSES_ROOT; local 1131 if ((key.Open(root_key, key_path.c_str(),
|
/external/chromium_org/chrome/browser/extensions/api/messaging/ |
H A D | native_messaging_test_util.cc | 45 HKEY root_key = user_level ? HKEY_CURRENT_USER : HKEY_LOCAL_MACHINE; local 49 root_key, key.c_str(), 77 HKEY root_key = user_level ? HKEY_CURRENT_USER : HKEY_LOCAL_MACHINE; local 78 registry_override_.OverrideRegistry(root_key);
|
H A D | native_process_launcher_win.cc | 30 bool GetManifestPathWithFlags(HKEY root_key, argument 36 if (key.Open(root_key, kNativeMessagingRegistryKey, 47 bool GetManifestPath(HKEY root_key, argument 52 root_key, KEY_WOW64_32KEY, host_name, result) || 54 root_key, KEY_WOW64_64KEY, host_name, result);
|
/external/chromium_org/chrome/installer/launcher_support/ |
H A D | chrome_launcher_support.cc | 38 HKEY root_key = (level == USER_LEVEL_INSTALLATION) ? local 44 if (reg_key.Open(root_key, subkey.c_str(),
|
/external/chromium_org/base/win/ |
H A D | win_util.cc | 185 bool AddCommandToAutoRun(HKEY root_key, const string16& name, argument 187 base::win::RegKey autorun_key(root_key, kAutoRunKeyPath, KEY_SET_VALUE); 192 bool RemoveCommandFromAutoRun(HKEY root_key, const string16& name) { argument 193 base::win::RegKey autorun_key(root_key, kAutoRunKeyPath, KEY_SET_VALUE); 197 bool ReadCommandFromAutoRun(HKEY root_key, argument 200 base::win::RegKey autorun_key(root_key, kAutoRunKeyPath, KEY_QUERY_VALUE);
|
H A D | registry.cc | 429 LONG RegKey::RegDelRecurse(HKEY root_key, argument 433 LONG result = RegDeleteKeyExWrapper(root_key, name.c_str(), access, 0); 439 root_key, name.c_str(), 0, KEY_ENUMERATE_SUB_KEYS | access, &target_key); 475 if (RegDelRecurse(root_key, subkey_name, access) != ERROR_SUCCESS) 482 result = RegDeleteKeyExWrapper(root_key, name.c_str(), access, 0); 489 RegistryValueIterator::RegistryValueIterator(HKEY root_key, argument 493 LONG result = RegOpenKeyEx(root_key, folder_key, 0, KEY_READ, &key_); 578 RegistryKeyIterator::RegistryKeyIterator(HKEY root_key, argument 580 LONG result = RegOpenKeyEx(root_key, folder_key, 0, KEY_READ, &key_);
|
/external/chromium_org/content/common/ |
H A D | plugin_list_win.cc | 97 HKEY root_key, 100 for (base::win::RegistryKeyIterator iter(root_key, registry_folder.c_str()); 106 base::win::RegKey key(root_key, reg_path.c_str(), KEY_READ); 96 GetPluginsInRegistryDirectory( HKEY root_key, const base::string16& registry_folder, std::set<base::FilePath>* plugin_dirs) argument
|
/external/chromium_org/rlz/win/lib/ |
H A D | rlz_value_store_registry.cc | 136 bool DeleteKeyIfEmpty(HKEY root_key, const wchar_t* key_name) { argument 141 base::win::RegKey key(root_key, key_name, KEY_READ); 145 base::win::RegistryKeyIterator key_iter(root_key, key_name); 149 base::win::RegistryValueIterator value_iter(root_key, key_name); 155 base::win::RegKey key(root_key, L"", KEY_WRITE);
|
/external/chromium_org/third_party/webrtc/base/ |
H A D | win32regkey.cc | 890 std::wstring root_key; local 893 root_key = *full_key_name; 896 root_key = full_key_name->substr(0, index); 901 for (std::wstring::iterator iter = root_key.begin(); 902 iter != root_key.end(); ++iter) { 906 if (!root_key.compare(L"HKLM") || 907 !root_key.compare(L"HKEY_LOCAL_MACHINE")) { 909 } else if (!root_key.compare(L"HKCU") || 910 !root_key.compare(L"HKEY_CURRENT_USER")) { 912 } else if (!root_key 930 HKEY root_key = GetRootKeyInfo(&key); local [all...] |
/external/chromium_org/chrome/installer/mini_installer/ |
H A D | mini_installer.cc | 132 bool ReadValueFromRegistry(HKEY root_key, const wchar_t *sub_key, argument 137 if (key.Open(root_key, sub_key, KEY_QUERY_VALUE) == ERROR_SUCCESS && 145 bool OpenClientStateKey(HKEY root_key, const wchar_t* app_guid, REGSAM access, argument 150 (key->Open(root_key, 164 const HKEY root_key = local 187 if (OpenClientStateKey(root_key, app_guid, key_access, &key)) { 205 if (!OpenClientStateKey(root_key, app_guid, key_access, &key)) 234 const HKEY root_key = system_level ? HKEY_LOCAL_MACHINE : HKEY_CURRENT_USER; local 236 return OpenClientStateKey(root_key, app_guid, KEY_QUERY_VALUE, &key) &&
|
/external/chromium_org/chrome/installer/gcapi/ |
H A D | gcapi.cc | 204 bool IsChromeInstalled(HKEY root_key) { argument 206 return key.Open(root_key,
|
/external/chromium_org/chrome/installer/setup/ |
H A D | install_worker.cc | 221 work_item_list->AddDeleteRegKeyWorkItem(installer_state.root_key(), 234 cmd.AddWorkItems(installer_state.root_key(), full_cmd_key, work_item_list); 245 installer_state.root_key(), 380 cmd.AddWorkItems(installer_state.root_key(), cmd_key, work_item_list); 437 HKEY reg_root = installer_state.root_key(); 676 HKEY reg_root = installer_state.root_key(); 870 const HKEY root_key = installer_state.root_key(); local 896 root_key, multi_key, KEY_WOW64_32KEY); 898 install_list->AddSetRegValueWorkItem(root_key, 926 const HKEY root_key = installer_state.root_key(); local 988 const HKEY root_key = installer_state.root_key(); local 1039 HKEY root_key = installer_state.root_key(); local 1591 const HKEY root_key = installer_state.root_key(); local 1624 const HKEY root_key = installer_state.root_key(); local [all...] |