summaryrefslogtreecommitdiffstats
path: root/webkit/appcache/appcache_url_request_job_unittest.cc
diff options
context:
space:
mode:
authormichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-23 23:40:20 +0000
committermichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-23 23:40:20 +0000
commit07b8eedcd5cf8e9cc6c67f93a52d323d0638d46d (patch)
tree684e9a34c05debd6156ef945c5b60febd2b01de5 /webkit/appcache/appcache_url_request_job_unittest.cc
parent3f5d5837c8187216a92c5a2c4c171ceeccf54358 (diff)
downloadchromium_src-07b8eedcd5cf8e9cc6c67f93a52d323d0638d46d.zip
chromium_src-07b8eedcd5cf8e9cc6c67f93a52d323d0638d46d.tar.gz
chromium_src-07b8eedcd5cf8e9cc6c67f93a52d323d0638d46d.tar.bz2
Put minimal appcache info in the netlog.
BUG=49854 TEST=manual Review URL: http://codereview.chromium.org/2847068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53551 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache_url_request_job_unittest.cc')
-rw-r--r--webkit/appcache/appcache_url_request_job_unittest.cc11
1 files changed, 7 insertions, 4 deletions
diff --git a/webkit/appcache/appcache_url_request_job_unittest.cc b/webkit/appcache/appcache_url_request_job_unittest.cc
index 5799cad..44413ad 100644
--- a/webkit/appcache/appcache_url_request_job_unittest.cc
+++ b/webkit/appcache/appcache_url_request_job_unittest.cc
@@ -434,7 +434,7 @@ class AppCacheURLRequestJobTest : public testing::Test {
const GURL kManifestUrl("http://blah/");
const int64 kCacheId(1);
const AppCacheEntry kEntry(AppCacheEntry::EXPLICIT, 1);
- job->DeliverAppCachedResponse(kManifestUrl, kCacheId, kEntry);
+ job->DeliverAppCachedResponse(kManifestUrl, kCacheId, kEntry, false);
EXPECT_FALSE(job->is_waiting());
EXPECT_TRUE(job->is_delivering_appcache_response());
EXPECT_FALSE(job->has_been_started());
@@ -543,7 +543,8 @@ class AppCacheURLRequestJobTest : public testing::Test {
if (start_after_delivery_orders) {
job->DeliverAppCachedResponse(
GURL(), 111,
- AppCacheEntry(AppCacheEntry::EXPLICIT, written_response_id_));
+ AppCacheEntry(AppCacheEntry::EXPLICIT, written_response_id_),
+ false);
EXPECT_TRUE(job->is_delivering_appcache_response());
}
@@ -557,7 +558,8 @@ class AppCacheURLRequestJobTest : public testing::Test {
if (!start_after_delivery_orders) {
job->DeliverAppCachedResponse(
GURL(), 111,
- AppCacheEntry(AppCacheEntry::EXPLICIT, written_response_id_));
+ AppCacheEntry(AppCacheEntry::EXPLICIT, written_response_id_),
+ false);
EXPECT_TRUE(job->is_delivering_appcache_response());
}
@@ -652,7 +654,8 @@ class AppCacheURLRequestJobTest : public testing::Test {
new AppCacheURLRequestJob(request_.get(), storage));
job->DeliverAppCachedResponse(
GURL(), 111,
- AppCacheEntry(AppCacheEntry::EXPLICIT, written_response_id_));
+ AppCacheEntry(AppCacheEntry::EXPLICIT, written_response_id_),
+ false);
EXPECT_TRUE(job->is_delivering_appcache_response());
// Start the request.