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

Unified Diff: content/public/browser/navigation_handle.cc

Issue 1294243004: PlzNavigate: Make ServiceWorker work with PlzNavigate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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/public/browser/navigation_handle.cc
diff --git a/content/public/browser/navigation_handle.cc b/content/public/browser/navigation_handle.cc
index f5eaa118425d17c5068ee3b31a368c68f7215015..3dbb59397400b6554f35851618cd7d976c6410dd 100644
--- a/content/public/browser/navigation_handle.cc
+++ b/content/public/browser/navigation_handle.cc
@@ -21,9 +21,11 @@ WebContents* NavigationHandle::GetWebContents() {
scoped_ptr<NavigationHandle> NavigationHandle::CreateNavigationHandleForTesting(
const GURL& url,
bool is_main_frame,
- WebContents* web_contents) {
+ WebContents* web_contents,
+ int service_worker_provider_id) {
scoped_ptr<NavigationHandleImpl> handle_impl = NavigationHandleImpl::Create(
- url, is_main_frame, static_cast<WebContentsImpl*>(web_contents));
+ url, is_main_frame, static_cast<WebContentsImpl*>(web_contents),
+ service_worker_provider_id);
return scoped_ptr<NavigationHandle>(handle_impl.Pass());
}

Powered by Google App Engine
This is Rietveld 408576698