From 0349ab5dc3d6aa0abd87e7c72c0cf3daeff975b1 Mon Sep 17 00:00:00 2001 From: "erg@google.com" Date: Wed, 11 Aug 2010 21:41:57 +0000 Subject: Extension package creation cleanup Unify extension package creation code between command line and GUI methods. Properly handle extension names with periods or trailing slashes. Don't DCHECK when creating packages from the command line. BUG=14720, 19103, 51110 TEST=run 'chrome --pack-extension=has.a.dot/' on an extension with period in its name; make sure it is packed correctly and a message indicating success is printed. Review URL: http://codereview.chromium.org/3077022 Patch from Ilya Sherman . git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55792 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/installer/setup/uninstall.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/installer') diff --git a/chrome/installer/setup/uninstall.cc b/chrome/installer/setup/uninstall.cc index ff3eac9..2d19ca4 100644 --- a/chrome/installer/setup/uninstall.cc +++ b/chrome/installer/setup/uninstall.cc @@ -423,7 +423,7 @@ const wchar_t kChromeExtProgId[] = L"ChromiumExt"; // Delete Software\Classes\.crx, std::wstring ext_association(ShellUtil::kRegClasses); - ext_association.append(L"\\."); + ext_association.append(L"\\"); ext_association.append(chrome::kExtensionFileExtension); InstallUtil::DeleteRegistryKey(key, ext_association); } -- cgit v1.1