summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test/net/test_automation_provider.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/test/net/test_automation_provider.cc')
-rw-r--r--chrome_frame/test/net/test_automation_provider.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome_frame/test/net/test_automation_provider.cc b/chrome_frame/test/net/test_automation_provider.cc
index 9012a19..7b94536 100644
--- a/chrome_frame/test/net/test_automation_provider.cc
+++ b/chrome_frame/test/net/test_automation_provider.cc
@@ -9,6 +9,7 @@
#include "base/path_service.h"
#include "chrome/common/automation_messages.h"
#include "chrome_frame/test/net/test_automation_resource_message_filter.h"
+#include "net/url_request/url_request_context.h"
namespace {
@@ -93,6 +94,7 @@ net::URLRequestJob* TestAutomationProvider::Factory(
static int new_id = 0x00100000;
URLRequestAutomationJob* job = new URLRequestAutomationJob(
request, network_delegate,
+ request->context()->http_user_agent_settings(),
g_provider_instance_->tab_handle_, new_id++,
g_provider_instance_->automation_resource_message_filter_, false);
return job;