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

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

Issue 10446095: Move ProgramCompare from setup_util to install_util. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move tests Created 8 years, 7 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 86b374fa710dcfb48b072e5f3ab8fa08161bb737..8a56753df03ec07fe1b2f9ee2b29da593cfa85bb 100644
--- a/chrome/installer/setup/uninstall.cc
+++ b/chrome/installer/setup/uninstall.cc
@@ -226,7 +226,7 @@ void CloseChromeFrameHelperProcess() {
bool CurrentUserHasDefaultBrowser(const InstallerState& installer_state) {
using base::win::RegistryKeyIterator;
const HKEY root = HKEY_LOCAL_MACHINE;
- ProgramCompare open_command_pred(
+ InstallUtil::ProgramCompare open_command_pred(
installer_state.target_path().Append(kChromeExe));
string16 client_open_path;
RegKey client_open_key;
@@ -566,7 +566,7 @@ bool DeleteChromeRegistrationKeys(BrowserDistribution* dist, HKEY root,
// Delete all Start Menu Internet registrations that refer to this Chrome.
{
using base::win::RegistryKeyIterator;
- ProgramCompare open_command_pred(chrome_exe);
+ InstallUtil::ProgramCompare open_command_pred(chrome_exe);
string16 client_name;
string16 client_key;
string16 open_key;
@@ -640,7 +640,7 @@ bool DeleteChromeRegistrationKeys(BrowserDistribution* dist, HKEY root,
browser_entry_suffix));
// Delete each protocol association if it references this Chrome.
- ProgramCompare open_command_pred(chrome_exe);
+ InstallUtil::ProgramCompare open_command_pred(chrome_exe);
string16 parent_key(ShellUtil::kRegClasses);
const string16::size_type base_length = parent_key.size();
string16 child_key;

Powered by Google App Engine
This is Rietveld 408576698