diff options
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/installer/util/logging_installer.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/installer/util/logging_installer.cc b/chrome/installer/util/logging_installer.cc index 02c0d9d..e03c25b 100644 --- a/chrome/installer/util/logging_installer.cc +++ b/chrome/installer/util/logging_installer.cc @@ -56,7 +56,13 @@ std::wstring GetLogFilePath(const CommandLine& command_line) { WideToASCII(installer_util::switches::kLogFile)); } - const std::wstring log_filename(L"chrome_installer.log"); + std::wstring log_filename; + if (command_line.HasSwitch(installer_util::switches::kChromeFrame)) { + log_filename = L"chrome_frame_installer.log"; + } else { + log_filename = L"chrome_installer.log"; + } + FilePath log_path; if (PathService::Get(base::DIR_TEMP, &log_path)) { |