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

Unified Diff: content/test/test_render_frame.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_render_frame.cc
diff --git a/content/test/test_render_frame.cc b/content/test/test_render_frame.cc
index 1544c2a382cd37ad6bb35241a8705b1d8950f6e9..15f859ef73437dcdbdba4b1104f7d8e3ba539cbe 100644
--- a/content/test/test_render_frame.cc
+++ b/content/test/test_render_frame.cc
@@ -6,6 +6,7 @@
#include "base/command_line.h"
#include "content/common/navigation_params.h"
+#include "content/common/service_worker/service_worker_types.h"
#include "content/public/common/content_switches.h"
#include "content/public/common/resource_response.h"
@@ -31,7 +32,7 @@ void TestRenderFrame::Navigate(const CommonNavigationParams& common_params,
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableBrowserSideNavigation)) {
OnCommitNavigation(ResourceResponseHead(), GURL(), common_params,
- request_params);
+ request_params, kInvalidServiceWorkerProviderId);
} else {
OnNavigate(common_params, start_params, request_params);
}
« content/renderer/render_frame_impl.cc ('K') | « content/test/test_navigation_url_loader.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698