| Index: webkit/browser/appcache/appcache_url_request_job_unittest.cc
|
| diff --git a/webkit/browser/appcache/appcache_url_request_job_unittest.cc b/webkit/browser/appcache/appcache_url_request_job_unittest.cc
|
| index a6e6027dcd94718192a85d67fa2a2d5a37e76e73..44459311f750563ac24c3d0a986ba84cfd0f8508 100644
|
| --- a/webkit/browser/appcache/appcache_url_request_job_unittest.cc
|
| +++ b/webkit/browser/appcache/appcache_url_request_job_unittest.cc
|
| @@ -384,7 +384,7 @@ class AppCacheURLRequestJobTest : public testing::Test {
|
| // Create an instance and see that it looks as expected.
|
|
|
| job = new AppCacheURLRequestJob(
|
| - &request, NULL, storage, NULL);
|
| + &request, NULL, storage, NULL, false);
|
| EXPECT_TRUE(job->is_waiting());
|
| EXPECT_FALSE(job->is_delivering_appcache_response());
|
| EXPECT_FALSE(job->is_delivering_network_response());
|
| @@ -408,17 +408,17 @@ class AppCacheURLRequestJobTest : public testing::Test {
|
| // Create an instance, give it a delivery order and see that
|
| // it looks as expected.
|
|
|
| - job = new AppCacheURLRequestJob(&request, NULL, storage, NULL);
|
| + job = new AppCacheURLRequestJob(&request, NULL, storage, NULL, false);
|
| job->DeliverErrorResponse();
|
| EXPECT_TRUE(job->is_delivering_error_response());
|
| EXPECT_FALSE(job->has_been_started());
|
|
|
| - job = new AppCacheURLRequestJob(&request, NULL, storage, NULL);
|
| + job = new AppCacheURLRequestJob(&request, NULL, storage, NULL, false);
|
| job->DeliverNetworkResponse();
|
| EXPECT_TRUE(job->is_delivering_network_response());
|
| EXPECT_FALSE(job->has_been_started());
|
|
|
| - job = new AppCacheURLRequestJob(&request, NULL, storage, NULL);
|
| + job = new AppCacheURLRequestJob(&request, NULL, storage, NULL, false);
|
| const GURL kManifestUrl("http://blah/");
|
| const int64 kCacheId(1);
|
| const int64 kGroupId(1);
|
| @@ -454,7 +454,7 @@ class AppCacheURLRequestJobTest : public testing::Test {
|
| // Setup to create an AppCacheURLRequestJob with orders to deliver
|
| // a network response.
|
| mock_factory_job_ = new AppCacheURLRequestJob(
|
| - request_.get(), NULL, storage, NULL);
|
| + request_.get(), NULL, storage, NULL, false);
|
| mock_factory_job_->DeliverNetworkResponse();
|
| EXPECT_TRUE(mock_factory_job_->is_delivering_network_response());
|
| EXPECT_FALSE(mock_factory_job_->has_been_started());
|
| @@ -490,7 +490,7 @@ class AppCacheURLRequestJobTest : public testing::Test {
|
| // Setup to create an AppCacheURLRequestJob with orders to deliver
|
| // a network response.
|
| mock_factory_job_ = new AppCacheURLRequestJob(
|
| - request_.get(), NULL, storage, NULL);
|
| + request_.get(), NULL, storage, NULL, false);
|
| mock_factory_job_->DeliverErrorResponse();
|
| EXPECT_TRUE(mock_factory_job_->is_delivering_error_response());
|
| EXPECT_FALSE(mock_factory_job_->has_been_started());
|
| @@ -541,7 +541,7 @@ class AppCacheURLRequestJobTest : public testing::Test {
|
| // Setup to create an AppCacheURLRequestJob with orders to deliver
|
| // a network response.
|
| scoped_refptr<AppCacheURLRequestJob> job(new AppCacheURLRequestJob(
|
| - request_.get(), NULL, storage, NULL));
|
| + request_.get(), NULL, storage, NULL, false));
|
|
|
| if (start_after_delivery_orders) {
|
| job->DeliverAppCachedResponse(
|
| @@ -660,7 +660,7 @@ class AppCacheURLRequestJobTest : public testing::Test {
|
|
|
| // Create job with orders to deliver an appcached entry.
|
| scoped_refptr<AppCacheURLRequestJob> job(new AppCacheURLRequestJob(
|
| - request_.get(), NULL, storage, NULL));
|
| + request_.get(), NULL, storage, NULL, false));
|
| job->DeliverAppCachedResponse(
|
| GURL(), 0, 111,
|
| AppCacheEntry(AppCacheEntry::EXPLICIT, written_response_id_),
|
|
|