summaryrefslogtreecommitdiffstats
path: root/chrome_frame
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame')
-rw-r--r--chrome_frame/chrome_frame.gyp2
-rw-r--r--chrome_frame/chrome_frame_automation.cc4
2 files changed, 6 insertions, 0 deletions
diff --git a/chrome_frame/chrome_frame.gyp b/chrome_frame/chrome_frame.gyp
index 6ac0b37..cde3108 100644
--- a/chrome_frame/chrome_frame.gyp
+++ b/chrome_frame/chrome_frame.gyp
@@ -224,6 +224,7 @@
'dependencies': [
'../base/base.gyp:test_support_base',
'../build/temp_gyp/googleurl.gyp:googleurl',
+ '../chrome/chrome.gyp:chrome_version_header',
'../chrome/chrome.gyp:common',
'../chrome/chrome.gyp:utility',
'../chrome/chrome.gyp:browser',
@@ -278,6 +279,7 @@
'test/url_request_test.cc',
'test/win_event_receiver.cc',
'test/win_event_receiver.h',
+ 'chrome_launcher_version.rc',
'chrome_tab.h',
'chrome_tab.idl',
'test_utils.cc',
diff --git a/chrome_frame/chrome_frame_automation.cc b/chrome_frame/chrome_frame_automation.cc
index 7ee5950..28362e5 100644
--- a/chrome_frame/chrome_frame_automation.cc
+++ b/chrome_frame/chrome_frame_automation.cc
@@ -265,6 +265,10 @@ void AutomationProxyCacheEntry::CreateProxy(ChromeFrameLaunchParams* params,
ChromeFrameAutomationProxyImpl* proxy =
new ChromeFrameAutomationProxyImpl(this, params->launch_timeout());
+ // Ensure that the automation proxy actually respects our choice on whether
+ // or not to check the version.
+ proxy->set_perform_version_check(params->version_check());
+
// Launch browser
scoped_ptr<CommandLine> command_line(
chrome_launcher::CreateLaunchCommandLine());