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

Unified Diff: content/test/test_navigation_url_loader.cc

Issue 1257553002: [Proof-of-concept] PlzNavigate and Service Worker Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pass navigation_provider_id Created 5 years, 5 months 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/test/test_navigation_url_loader.cc
diff --git a/content/test/test_navigation_url_loader.cc b/content/test/test_navigation_url_loader.cc
index 6eea8b2d7c7478b7d336ae661c7b3fbbbf4ceabc..d8af031540025b40298b5011a3dab0cb12e4eb6e 100644
--- a/content/test/test_navigation_url_loader.cc
+++ b/content/test/test_navigation_url_loader.cc
@@ -5,6 +5,7 @@
#include "content/test/test_navigation_url_loader.h"
#include "content/browser/loader/navigation_url_loader_delegate.h"
+#include "content/common/service_worker/service_worker_types.h"
#include "content/public/browser/stream_handle.h"
#include "content/public/common/resource_response.h"
#include "net/url_request/redirect_info.h"
@@ -42,7 +43,8 @@ void TestNavigationURLLoader::CallOnRequestRedirected(
void TestNavigationURLLoader::CallOnResponseStarted(
const scoped_refptr<ResourceResponse>& response,
scoped_ptr<StreamHandle> body) {
- delegate_->OnResponseStarted(response, body.Pass());
+ delegate_->OnResponseStarted(response, body.Pass(),
+ kInvalidServiceWorkerProviderId);
}
TestNavigationURLLoader::~TestNavigationURLLoader() {}

Powered by Google App Engine
This is Rietveld 408576698