Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(739)

Unified Diff: content/browser/appcache/appcache_storage_impl_unittest.cc

Issue 2501343003: PlzNavigate: AppCache support. (Closed)
Patch Set: Add DCHECKs for PlzNavigate and fix a double Release problem which caused one unit_test to fail wit… Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/appcache/appcache_storage_impl_unittest.cc
diff --git a/content/browser/appcache/appcache_storage_impl_unittest.cc b/content/browser/appcache/appcache_storage_impl_unittest.cc
index 9d815d54d7c78c71373ef56f68078bd6c2d8a8ab..3fb3cc6f27a73613a19af1b5cdaa406b7e3c582d 100644
--- a/content/browser/appcache/appcache_storage_impl_unittest.cc
+++ b/content/browser/appcache/appcache_storage_impl_unittest.cc
@@ -1742,7 +1742,7 @@ class AppCacheStorageImplTest : public testing::Test {
void Continue_Reinitialize(ReinitTestCase test_case) {
const int kMockProcessId = 1;
backend_.reset(new AppCacheBackendImpl);
- backend_->Initialize(service_.get(), &frontend_, kMockProcessId);
+ backend_->Initialize(service_.get(), &frontend_, kMockProcessId, -1);
if (test_case == CORRUPT_SQL_ON_INSTALL) {
// Break the db file
@@ -1773,10 +1773,8 @@ class AppCacheStorageImplTest : public testing::Test {
request_ = service()->request_context()->CreateRequest(
manifest_url, net::DEFAULT_PRIORITY, &request_delegate_);
AppCacheInterceptor::SetExtraRequestInfo(
- request_.get(), service_.get(),
- backend_->process_id(), host2->host_id(),
- RESOURCE_TYPE_MAIN_FRAME,
- false);
+ request_.get(), service_.get(), backend_->process_id(), -1,
+ host2->host_id(), RESOURCE_TYPE_MAIN_FRAME, false);
request_->Start();
}

Powered by Google App Engine
This is Rietveld 408576698