Index: chrome/browser/component_updater/component_updater_interceptor.cc |
diff --git a/chrome/browser/component_updater/component_updater_interceptor.cc b/chrome/browser/component_updater/component_updater_interceptor.cc |
index afd7b0d06b93f0760769b9747bb6c28c3a9f567c..f03a06c69b17d5e3bf679997d60aa124f493e688 100644 |
--- a/chrome/browser/component_updater/component_updater_interceptor.cc |
+++ b/chrome/browser/component_updater/component_updater_interceptor.cc |
@@ -6,6 +6,8 @@ |
#include "base/file_util.h" |
#include "base/threading/thread_restrictions.h" |
#include "content/public/browser/browser_thread.h" |
+#include "net/url_request/url_request.h" |
+#include "net/url_request/url_request_context.h" |
#include "net/url_request/url_request_test_job.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -43,6 +45,7 @@ net::URLRequestJob* ComponentUpdateInterceptor::MaybeIntercept( |
EXPECT_TRUE(file_util::ReadFileToString(response.data_path, &contents)); |
return new net::URLRequestTestJob(request, |
+ request->context()->network_delegate(), |
response.headers, |
contents, |
true); |