| Index: chrome/installer/util/install_util.cc
|
| ===================================================================
|
| --- chrome/installer/util/install_util.cc (revision 69165)
|
| +++ chrome/installer/util/install_util.cc (working copy)
|
| @@ -29,7 +29,7 @@
|
| #include "chrome/installer/util/work_item_list.h"
|
|
|
| using base::win::RegKey;
|
| -using installer::MasterPreferences;
|
| +using installer_util::MasterPreferences;
|
|
|
| bool InstallUtil::ExecuteExeAsAdmin(const CommandLine& cmd, DWORD* exit_code) {
|
| FilePath::StringType program(cmd.GetProgram().value());
|
| @@ -74,7 +74,7 @@
|
| HKEY root = system_install ? HKEY_LOCAL_MACHINE : HKEY_CURRENT_USER;
|
| RegKey key(root, dist->GetUninstallRegPath().c_str(), KEY_READ);
|
| std::wstring uninstall_cmd;
|
| - key.ReadValue(installer::kUninstallStringField, &uninstall_cmd);
|
| + key.ReadValue(installer_util::kUninstallStringField, &uninstall_cmd);
|
| return uninstall_cmd;
|
| }
|
|
|
| @@ -121,7 +121,7 @@
|
|
|
| bool InstallUtil::IsChromeFrameProcess() {
|
| const MasterPreferences& prefs =
|
| - installer::MasterPreferences::ForCurrentProcess();
|
| + installer_util::MasterPreferences::ForCurrentProcess();
|
| return prefs.install_chrome_frame();
|
| }
|
|
|
| @@ -129,16 +129,16 @@
|
| CommandLine* command_line = CommandLine::ForCurrentProcess();
|
| CHECK(command_line);
|
|
|
| - if (command_line->HasSwitch(installer::switches::kChromeSxS))
|
| + if (command_line->HasSwitch(installer_util::switches::kChromeSxS))
|
| return true;
|
|
|
| // Also return true if we are running from Chrome SxS installed path.
|
| FilePath exe_dir;
|
| PathService::Get(base::DIR_EXE, &exe_dir);
|
| - std::wstring chrome_sxs_dir(installer::kGoogleChromeInstallSubDir2);
|
| - chrome_sxs_dir.append(installer::kSxSSuffix);
|
| + std::wstring chrome_sxs_dir(installer_util::kGoogleChromeInstallSubDir2);
|
| + chrome_sxs_dir.append(installer_util::kSxSSuffix);
|
| return FilePath::CompareEqualIgnoreCase(exe_dir.BaseName().value(),
|
| - installer::kInstallBinaryDir) &&
|
| + installer_util::kInstallBinaryDir) &&
|
| FilePath::CompareEqualIgnoreCase(exe_dir.DirName().BaseName().value(),
|
| chrome_sxs_dir);
|
| }
|
|
|