summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/chrome_frame_distribution.cc
diff options
context:
space:
mode:
authorrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-14 20:23:49 +0000
committerrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-14 20:23:49 +0000
commitbefe84bbceb40e25af72c21aa6f8492d1eb7ae84 (patch)
tree5f2246572d802171682d1fc1b133a79514bd9042 /chrome/installer/util/chrome_frame_distribution.cc
parentcefe5c46afeb6e48e15a396435ca13274406004d (diff)
downloadchromium_src-befe84bbceb40e25af72c21aa6f8492d1eb7ae84.zip
chromium_src-befe84bbceb40e25af72c21aa6f8492d1eb7ae84.tar.gz
chromium_src-befe84bbceb40e25af72c21aa6f8492d1eb7ae84.tar.bz2
Merge the installer, installer_util and setup_util namespaces into a single installer namespace.
BUG=61609 TEST=NONE Review URL: http://codereview.chromium.org/5729004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69165 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util/chrome_frame_distribution.cc')
-rw-r--r--chrome/installer/util/chrome_frame_distribution.cc28
1 files changed, 14 insertions, 14 deletions
diff --git a/chrome/installer/util/chrome_frame_distribution.cc b/chrome/installer/util/chrome_frame_distribution.cc
index 02ec281..49c8827 100644
--- a/chrome/installer/util/chrome_frame_distribution.cc
+++ b/chrome/installer/util/chrome_frame_distribution.cc
@@ -24,7 +24,7 @@ const wchar_t kChromeFrameGuid[] = L"{8BA986DA-5100-405E-AA35-86F34A02ACBF}";
}
ChromeFrameDistribution::ChromeFrameDistribution(
- const installer_util::MasterPreferences& prefs)
+ const installer::MasterPreferences& prefs)
: BrowserDistribution(prefs) {
type_ = BrowserDistribution::CHROME_FRAME;
ceee_ = prefs.install_ceee();
@@ -36,13 +36,13 @@ std::wstring ChromeFrameDistribution::GetAppGuid() {
std::wstring ChromeFrameDistribution::GetApplicationName() {
const std::wstring& product_name =
- installer_util::GetLocalizedString(IDS_PRODUCT_FRAME_NAME_BASE);
+ installer::GetLocalizedString(IDS_PRODUCT_FRAME_NAME_BASE);
return product_name;
}
std::wstring ChromeFrameDistribution::GetAlternateApplicationName() {
const std::wstring& product_name =
- installer_util::GetLocalizedString(IDS_PRODUCT_FRAME_NAME_BASE);
+ installer::GetLocalizedString(IDS_PRODUCT_FRAME_NAME_BASE);
return product_name;
}
@@ -52,7 +52,7 @@ std::wstring ChromeFrameDistribution::GetInstallSubDir() {
std::wstring ChromeFrameDistribution::GetPublisherName() {
const std::wstring& publisher_name =
- installer_util::GetLocalizedString(IDS_ABOUT_VERSION_COMPANY_NAME_BASE);
+ installer::GetLocalizedString(IDS_ABOUT_VERSION_COMPANY_NAME_BASE);
return publisher_name;
}
@@ -107,7 +107,7 @@ bool ChromeFrameDistribution::CanSetAsDefault() {
}
void ChromeFrameDistribution::UpdateDiffInstallStatus(bool system_install,
- bool incremental_install, installer_util::InstallStatus install_status) {
+ bool incremental_install, installer::InstallStatus install_status) {
GoogleUpdateSettings::UpdateDiffInstallStatus(system_install,
incremental_install, GetInstallReturnCode(install_status),
kChromeFrameGuid);
@@ -115,20 +115,20 @@ void ChromeFrameDistribution::UpdateDiffInstallStatus(bool system_install,
std::vector<FilePath> ChromeFrameDistribution::GetKeyFiles() {
std::vector<FilePath> key_files;
- key_files.push_back(FilePath(installer_util::kChromeFrameDll));
+ key_files.push_back(FilePath(installer::kChromeFrameDll));
if (ceee_) {
- key_files.push_back(FilePath(installer_util::kCeeeIeDll));
- key_files.push_back(FilePath(installer_util::kCeeeBrokerExe));
+ key_files.push_back(FilePath(installer::kCeeeIeDll));
+ key_files.push_back(FilePath(installer::kCeeeBrokerExe));
}
return key_files;
}
std::vector<FilePath> ChromeFrameDistribution::GetComDllList() {
std::vector<FilePath> dll_list;
- dll_list.push_back(FilePath(installer_util::kChromeFrameDll));
+ dll_list.push_back(FilePath(installer::kChromeFrameDll));
if (ceee_) {
- dll_list.push_back(FilePath(installer_util::kCeeeInstallHelperDll));
- dll_list.push_back(FilePath(installer_util::kCeeeIeDll));
+ dll_list.push_back(FilePath(installer::kCeeeInstallHelperDll));
+ dll_list.push_back(FilePath(installer::kCeeeIeDll));
}
return dll_list;
}
@@ -136,9 +136,9 @@ std::vector<FilePath> ChromeFrameDistribution::GetComDllList() {
void ChromeFrameDistribution::AppendUninstallCommandLineFlags(
CommandLine* cmd_line) {
DCHECK(cmd_line);
- cmd_line->AppendSwitch(installer_util::switches::kDeleteProfile);
- cmd_line->AppendSwitch(installer_util::switches::kChromeFrame);
+ cmd_line->AppendSwitch(installer::switches::kDeleteProfile);
+ cmd_line->AppendSwitch(installer::switches::kChromeFrame);
if (ceee_) {
- cmd_line->AppendSwitch(installer_util::switches::kCeee);
+ cmd_line->AppendSwitch(installer::switches::kCeee);
}
}