| Index: chrome/browser/printing/print_dialog_cloud_interative_uitest.cc
|
| diff --git a/chrome/browser/printing/print_dialog_cloud_interative_uitest.cc b/chrome/browser/printing/print_dialog_cloud_interative_uitest.cc
|
| index cb71eaac6966997e2fc35d7931196ea56a613822..9f95d97ae330244646c17bd0ac6295d510f8108d 100644
|
| --- a/chrome/browser/printing/print_dialog_cloud_interative_uitest.cc
|
| +++ b/chrome/browser/printing/print_dialog_cloud_interative_uitest.cc
|
| @@ -29,6 +29,8 @@
|
| #include "content/public/browser/render_view_host.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "content/public/test/test_browser_thread.h"
|
| +#include "net/url_request/url_request.h"
|
| +#include "net/url_request/url_request_context.h"
|
| #include "net/url_request/url_request_filter.h"
|
| #include "net/url_request/url_request_test_job.h"
|
| #include "net/url_request/url_request_test_util.h"
|
| @@ -71,8 +73,11 @@ class TestData {
|
| class SimpleTestJob : public net::URLRequestTestJob {
|
| public:
|
| explicit SimpleTestJob(net::URLRequest* request)
|
| - : net::URLRequestTestJob(request, test_headers(),
|
| - TestData::GetInstance()->GetTestData(), true) {}
|
| + : net::URLRequestTestJob(request,
|
| + request->context()->network_delegate(),
|
| + test_headers(),
|
| + TestData::GetInstance()->GetTestData(),
|
| + true) {}
|
|
|
| virtual void GetResponseInfo(net::HttpResponseInfo* info) {
|
| net::URLRequestTestJob::GetResponseInfo(info);
|
| @@ -230,8 +235,10 @@ net::URLRequestJob* PrintDialogCloudTest::Factory(net::URLRequest* request,
|
| return new SimpleTestJob(request);
|
| }
|
| return new net::URLRequestTestJob(request,
|
| + request->context()->network_delegate(),
|
| net::URLRequestTestJob::test_headers(),
|
| - "", true);
|
| + "",
|
| + true);
|
| }
|
|
|
| #if defined(OS_WIN)
|
|
|