/external/chromium_org/chrome/common/importer/ |
D | firefox_importer_utils_win.cc | 36 base::win::RegKey reg_key(kFireFoxRegistryPaths[i], kFirefoxPath, in GetCurrentFirefoxMajorVersionFromRegistry() local 39 LONG result = reg_key.ReadValue(kCurrentVersion, ver_buffer, in GetCurrentFirefoxMajorVersionFromRegistry() 53 base::win::RegKey reg_key(HKEY_LOCAL_MACHINE, registry_path.c_str(), in GetFirefoxInstallPathFromRegistry() local 55 LONG result = reg_key.ReadValue(kCurrentVersion, buffer, in GetFirefoxInstallPathFromRegistry()
|
D | ie_importer_test_registry_overrider_win.cc | 54 base::win::RegKey reg_key(HKEY_CURRENT_USER, temporary_key_.c_str(), in ~IEImporterTestRegistryOverrider() local 56 DCHECK(reg_key.Valid()); in ~IEImporterTestRegistryOverrider() 57 reg_key.DeleteKey(L""); in ~IEImporterTestRegistryOverrider()
|
/external/chromium_org/chrome/installer/launcher_support/ |
D | chrome_launcher_support.cc | 42 base::win::RegKey reg_key; in GetClientStateValue() local 44 if (reg_key.Open(root_key, subkey.c_str(), in GetClientStateValue() 46 if (reg_key.ReadValue(value_name, value) == ERROR_SUCCESS) { in GetClientStateValue()
|
/external/chromium_org/rlz/win/lib/ |
D | rlz_value_store_registry.cc | 119 base::win::RegKey reg_key; in ClearAllProductEventValues() local 120 GetEventsRegKey(key, NULL, KEY_WRITE, ®_key); in ClearAllProductEventValues() 121 reg_key.DeleteKey(product_name.c_str()); in ClearAllProductEventValues() 125 reg_key.Handle(), product_name.c_str(), KEY_READ); in ClearAllProductEventValues() 266 base::win::RegKey reg_key; in AddProductEvent() local 267 GetEventsRegKey(kEventsSubkeyName, &product, KEY_WRITE, ®_key); in AddProductEvent() 268 if (reg_key.WriteValue(event_rlz_wide.c_str(), 1) != ERROR_SUCCESS) { in AddProductEvent()
|
/external/chromium_org/chrome/installer/util/ |
D | google_update_settings_unittest.cc | 197 base::string16 reg_key = GetApKeyPath(); in CreateApKey() local 199 reg_root, reg_key, WorkItem::kWow64Default); in CreateApKey() 201 reg_key, in CreateApKey() 216 base::string16 reg_key(google_update::kRegPathClientState); in GetApKeyPath() local 217 reg_key.append(L"\\"); in GetApKeyPath() 218 reg_key.append(kTestProductGuid); in GetApKeyPath() 219 return reg_key; in GetApKeyPath() 226 base::string16 reg_key = GetApKeyPath(); in ReadApKeyValue() local 227 if (key.Open(HKEY_CURRENT_USER, reg_key.c_str(), KEY_ALL_ACCESS) == in ReadApKeyValue() 527 base::string16 reg_key = GetApKeyPath(); in TEST_F() local [all …]
|
D | google_update_settings.cc | 474 base::string16 reg_key(google_update::kRegPathClientState); in UpdateInstallStatus() local 475 reg_key.append(L"\\"); in UpdateInstallStatus() 476 reg_key.append(product_guid); in UpdateInstallStatus() 478 reg_key.c_str(), in UpdateInstallStatus() 483 LOG(ERROR) << "Failed to open " << reg_key << "; Error: " << result; in UpdateInstallStatus() 498 LOG(ERROR) << "Failed to create " << reg_key << "; Error: " << result; in UpdateInstallStatus() 568 RegKey reg_key( in DuplicateGoogleUpdateSystemClientKey() local 570 if (!reg_key.Valid()) in DuplicateGoogleUpdateSystemClientKey() 574 if (!DuplicateHandle(GetCurrentProcess(), reg_key.Handle(), in DuplicateGoogleUpdateSystemClientKey() 584 HKEY reg_key = reinterpret_cast<HKEY>(reinterpret_cast<void*>(handle)); in WriteGoogleUpdateSystemClientKey() local [all …]
|
D | shell_util.cc | 795 base::string16 reg_key; in QuickIsChromeRegistered() local 799 reg_key = ShellUtil::kRegClasses; in QuickIsChromeRegistered() 800 reg_key.push_back(base::FilePath::kSeparators[0]); in QuickIsChromeRegistered() 801 reg_key.append(dist->GetBrowserProgIdPrefix()); in QuickIsChromeRegistered() 802 reg_key.append(suffix); in QuickIsChromeRegistered() 807 reg_key = RegistryEntry::GetBrowserClientKey(dist, suffix); in QuickIsChromeRegistered() 813 reg_key.append(ShellUtil::kRegShellOpen); in QuickIsChromeRegistered() 821 const RegKey key_hkcu(HKEY_CURRENT_USER, reg_key.c_str(), KEY_QUERY_VALUE); in QuickIsChromeRegistered() 832 const RegKey key_hklm(HKEY_LOCAL_MACHINE, reg_key.c_str(), KEY_QUERY_VALUE); in QuickIsChromeRegistered()
|
/external/chromium_org/ui/gfx/win/ |
D | dpi.cc | 98 base::win::RegKey reg_key(HKEY_CURRENT_USER, in ReadRegistryValue() local 102 if (reg_key.Valid() && in ReadRegistryValue() 103 reg_key.ReadValueDW(value_name, &value) == ERROR_SUCCESS) { in ReadRegistryValue()
|
/external/chromium_org/win8/delegate_execute/ |
D | command_execute_impl.cc | 465 base::win::RegKey reg_key; in GetLaunchMode() local 466 LONG key_result = reg_key.Create(HKEY_CURRENT_USER, in GetLaunchMode() 484 reg_key.WriteValue(chrome::kLaunchModeValue, in GetLaunchMode() 491 if (reg_key.ReadValueDW(chrome::kLaunchModeValue, in GetLaunchMode()
|
/external/chromium_org/chrome/browser/ |
D | process_singleton_win.cc | 220 base::win::RegKey reg_key; in ShouldLaunchInWindows8ImmersiveMode() 222 if (reg_key.Create(HKEY_CURRENT_USER, chrome::kMetroRegistryPath, in ShouldLaunchInWindows8ImmersiveMode() 224 reg_key.ReadValueDW(chrome::kLaunchModeValue, in ShouldLaunchInWindows8ImmersiveMode()
|
/external/chromium_org/chrome/utility/importer/ |
D | ie_importer_win.cc | 779 base::win::RegKey reg_key(HKEY_CURRENT_USER, kIEToolbarKey, KEY_READ); in GetFavoritesInfo() local 780 if (reg_key.ReadValue(L"LinksFolderName", buffer, in GetFavoritesInfo() 878 base::win::RegKey reg_key(HKEY_LOCAL_MACHINE, kIEVersionKey, KEY_READ); in CurrentIEVersion() local 879 LONG result = reg_key.ReadValue(L"Version", buffer, &buffer_length, NULL); in CurrentIEVersion()
|