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

Unified Diff: chrome/installer/setup/uninstall.cc

Issue 3057033: Remove GetSwitchValue() from chrome/* where easy. (Closed)
Patch Set: finally Created 10 years, 4 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/setup/uninstall.cc
diff --git a/chrome/installer/setup/uninstall.cc b/chrome/installer/setup/uninstall.cc
index bbee52e293e5d1c94e3cccaec950e2687823c715..ff3eac93f10f71f7a5d34472b0d185643c7b87cd 100644
--- a/chrome/installer/setup/uninstall.cc
+++ b/chrome/installer/setup/uninstall.cc
@@ -469,7 +469,8 @@ installer_util::InstallStatus installer_setup::UninstallChrome(
params.append(installer_util::switches::kRemoveChromeRegistration);
if (!suffix.empty()) {
params.append(L" --");
- params.append(installer_util::switches::kRegisterChromeBrowserSuffix);
+ params.append(ASCIIToWide(
+ installer_util::switches::kRegisterChromeBrowserSuffix));
params.append(L"=\"" + suffix + L"\"");
}
DWORD exit_code = installer_util::UNKNOWN_STATUS;

Powered by Google App Engine
This is Rietveld 408576698