} // anonymous namespace
-base::FilePath GetSessionLogFile(const CommandLine& command_line) {
+base::FilePath GetSessionLogDir(const CommandLine& command_line) {
base::FilePath log_dir;
std::string log_dir_str;
scoped_ptr<base::Environment> env(base::Environment::Create());
}
log_dir = log_dir.Append(profile_dir);
}
- return log_dir.Append(GetLogFileName().BaseName());
+ return log_dir;
+}
+
+base::FilePath GetSessionLogFile(const CommandLine& command_line) {
+ return GetSessionLogDir(command_line).Append(GetLogFileName().BaseName());
}
void RedirectChromeLogging(const CommandLine& command_line) {