Chromium Code Reviews| Index: chrome/test/chromedriver/chrome/chrome_desktop_impl.cc |
| diff --git a/chrome/test/chromedriver/chrome/chrome_desktop_impl.cc b/chrome/test/chromedriver/chrome/chrome_desktop_impl.cc |
| index 14d596ea54556e59d693474a7718a9ef8edd5d0b..954486db1ee803abffd99c29befcb647b989317b 100644 |
| --- a/chrome/test/chromedriver/chrome/chrome_desktop_impl.cc |
| +++ b/chrome/test/chromedriver/chrome/chrome_desktop_impl.cc |
| @@ -86,8 +86,14 @@ ChromeDesktopImpl::~ChromeDesktopImpl() { |
| if (!quit_) { |
| base::FilePath user_data_dir = user_data_dir_.Take(); |
| base::FilePath extension_dir = extension_dir_.Take(); |
| - LOG(WARNING) << "chrome detaches, user should take care of directory:" |
| - << user_data_dir.value() << " and " << extension_dir.value(); |
| + // |
|
samuong
2014/10/17 21:52:25
can you please make sure to delete these comments?
andrewcheng
2014/10/17 22:59:56
Done.
|
| + LOG(WARNING) << "chrome quit unexpectedly, leaving behind temporary " |
| + "directories for debugging:"; |
| + if (user_data_dir_.IsValid()) |
| + LOG(WARNING) << "chrome user data directory: " << user_data_dir.value(); |
| + if (extension_dir_.IsValid()) |
| + LOG(WARNING) << "chromedriver automation extension directory: " |
| + << extension_dir.value(); |
| } |
| base::CloseProcessHandle(process_); |
| } |