Chromium Code Reviews| Index: chrome/test/in_process_browser_test.cc |
| diff --git a/chrome/test/in_process_browser_test.cc b/chrome/test/in_process_browser_test.cc |
| index 5bfa8023db78226c16744023489fefaee7e8c9da..3c7ab9c8cf62bfe4a20758d9ed62636ebedfee5a 100644 |
| --- a/chrome/test/in_process_browser_test.cc |
| +++ b/chrome/test/in_process_browser_test.cc |
| @@ -28,6 +28,7 @@ |
| #include "chrome/common/chrome_constants.h" |
| #include "chrome/common/chrome_paths.h" |
| #include "chrome/common/chrome_switches.h" |
| +#include "chrome/common/logging_chrome.h" |
| #include "chrome/common/main_function_params.h" |
| #include "chrome/common/notification_registrar.h" |
| #include "chrome/common/notification_type.h" |
| @@ -189,6 +190,10 @@ void InProcessBrowserTest::SetUp() { |
| #if defined(OS_CHROMEOS) |
| chromeos::CrosLibrary::Get()->GetTestApi()->SetUseStubImpl(); |
| + |
| + // Make sure that the log directory exists. |
| + FilePath log_dir = logging::GetSessionLogFile(*command_line).DirName(); |
|
Greg Spencer (Chromium)
2010/11/01 22:59:59
This is only to keep the number of warnings down d
|
| + file_util::CreateDirectory(log_dir); |
| #endif // defined(OS_CHROMEOS) |
| SandboxInitWrapper sandbox_wrapper; |