diff options
author | nirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-20 19:51:24 +0000 |
---|---|---|
committer | nirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-20 19:51:24 +0000 |
commit | 9d8fe3b2085717e5889809255393f50d71a69365 (patch) | |
tree | e3eecb6dfd09cf0ab97e3876d6067516200381a0 /chrome/browser/automation | |
parent | f9d2de3e213d35a73eaece1bf73d3fdaa8ced209 (diff) | |
download | chromium_src-9d8fe3b2085717e5889809255393f50d71a69365.zip chromium_src-9d8fe3b2085717e5889809255393f50d71a69365.tar.gz chromium_src-9d8fe3b2085717e5889809255393f50d71a69365.tar.bz2 |
PyAuto test for renderer crash reporting
- Add a helper class (ExistingPathReplacer) to temporarily back up a path while pyauto uses it, and then reinstate it. Used by crash reporter test
- Increase PyAuto's default logging level to INFO
Review URL: http://codereview.chromium.org/3083028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56906 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation')
-rw-r--r-- | chrome/browser/automation/automation_provider.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc index 193b021..e6ca4d1f 100644 --- a/chrome/browser/automation/automation_provider.cc +++ b/chrome/browser/automation/automation_provider.cc @@ -1677,6 +1677,9 @@ void AutomationProvider::GetBrowserInfo(Browser* browser, chrome::kHelperProcessExecutablePath); properties->SetString("command_line_string", CommandLine::ForCurrentProcess()->command_line_string()); + FilePath dumps_path; + PathService::Get(chrome::DIR_CRASH_DUMPS, &dumps_path); + properties->SetString("DIR_CRASH_DUMPS", dumps_path.value()); std::string branding; #if defined(GOOGLE_CHROME_BUILD) |