Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(202)

Unified Diff: chrome/installer/util/helper.cc

Issue 23258005: Give SxS distribution its own registration GUIDs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed IsSetAsDefaultSupported() and GetCommandExecuteImplClsid(), and other minor cleanup. Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/installer/util/helper.cc
diff --git a/chrome/installer/util/helper.cc b/chrome/installer/util/helper.cc
index bb0f22e0749f5b4b6772a1849f8c5f7babe7f2f1..4f81343455575c273d57961e1c488ec115d1547e 100644
--- a/chrome/installer/util/helper.cc
+++ b/chrome/installer/util/helper.cc
@@ -45,7 +45,7 @@ base::FilePath GetChromeInstallPath(bool system_install,
void GetChromeUserDataPaths(BrowserDistribution* dist,
std::vector<base::FilePath>* paths) {
- const bool has_metro_data = dist->CanSetAsDefault() &&
+ const bool has_metro_data = !dist->GetBrowserProgIdPrefix().empty() &&
base::win::GetVersion() >= base::win::VERSION_WIN8;
base::FilePath data_dir(GetChromeInstallBasePath(false, dist,
kInstallUserDataDir));

Powered by Google App Engine
This is Rietveld 408576698