Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3297)

Unified Diff: chrome_frame/test/chrome_frame_automation_mock.h

Issue 3061036: Handle automation server crashes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome_frame/test/automation_client_mock.cc ('k') | chrome_frame/test/ie_event_sink.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test/chrome_frame_automation_mock.h
===================================================================
--- chrome_frame/test/chrome_frame_automation_mock.h (revision 55540)
+++ chrome_frame/test/chrome_frame_automation_mock.h (working copy)
@@ -32,17 +32,12 @@
chrome_frame_test::GetProfilePath(profile_name));
automation_client_ = new ChromeFrameAutomationClient;
- ChromeFrameLaunchParams clp = {
- launch_timeout,
- GURL(),
- GURL(),
- profile_path,
- profile_name,
- extra_chrome_arguments,
- perform_version_check,
- incognito,
- is_widget_mode
- };
+ GURL empty;
+ scoped_refptr<ChromeFrameLaunchParams> clp(
+ new ChromeFrameLaunchParams(empty, empty, profile_path, profile_name,
+ extra_chrome_arguments, incognito, is_widget_mode));
+ clp->set_launch_timeout(launch_timeout);
+ clp->set_version_check(perform_version_check);
automation_client_->Initialize(this, clp);
}
~AutomationMockDelegate() {
« no previous file with comments | « chrome_frame/test/automation_client_mock.cc ('k') | chrome_frame/test/ie_event_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698