summaryrefslogtreecommitdiffstats
path: root/chrome/test/mini_installer_test
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/mini_installer_test')
-rw-r--r--chrome/test/mini_installer_test/chrome_mini_installer.cc11
1 files changed, 8 insertions, 3 deletions
diff --git a/chrome/test/mini_installer_test/chrome_mini_installer.cc b/chrome/test/mini_installer_test/chrome_mini_installer.cc
index 58afed3..26dacd4 100644
--- a/chrome/test/mini_installer_test/chrome_mini_installer.cc
+++ b/chrome/test/mini_installer_test/chrome_mini_installer.cc
@@ -173,9 +173,11 @@ void ChromeMiniInstaller::InstallMetaInstaller() {
std::wstring chrome_google_update_state_key(
google_update::kRegPathClients);
chrome_google_update_state_key.append(L"\\");
- chrome_google_update_state_key.append(google_update::kChromeGuid);
- ASSERT_TRUE(CheckRegistryKey(chrome_google_update_state_key));
+
BrowserDistribution* dist = BrowserDistribution::GetDistribution();
+ chrome_google_update_state_key.append(dist->GetAppGuid());
+
+ ASSERT_TRUE(CheckRegistryKey(chrome_google_update_state_key));
ASSERT_TRUE(CheckRegistryKey(dist->GetVersionKey()));
FindChromeShortcut();
LaunchAndCloseChrome(false);
@@ -404,7 +406,10 @@ void ChromeMiniInstaller::DeleteUserDataFolder() {
void ChromeMiniInstaller::DeletePvRegistryKey() {
std::wstring pv_key(google_update::kRegPathClients);
pv_key.append(L"\\");
- pv_key.append(google_update::kChromeGuid);
+
+ BrowserDistribution* dist = BrowserDistribution::GetDistribution();
+ pv_key.append(dist->GetAppGuid());
+
RegKey key;
if (key.Open(GetRootRegistryKey(), pv_key.c_str(), KEY_ALL_ACCESS))
ASSERT_TRUE(key.DeleteValue(L"pv"));