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

Unified Diff: content/browser/service_worker/service_worker_browsertest.cc

Issue 2451373003: service worker: Implement NavigationPreloadManager.setHeaderValue (Closed)
Patch Set: rebase 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
« no previous file with comments | « content/browser/bad_message.h ('k') | content/browser/service_worker/service_worker_dispatcher_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/service_worker/service_worker_browsertest.cc
diff --git a/content/browser/service_worker/service_worker_browsertest.cc b/content/browser/service_worker/service_worker_browsertest.cc
index 822d03afcfe4d520a582fa9aa88c5194b7cecb9b..10f702014e1b2fde9f5106dc228039eb2c97f938 100644
--- a/content/browser/service_worker/service_worker_browsertest.cc
+++ b/content/browser/service_worker/service_worker_browsertest.cc
@@ -1505,7 +1505,7 @@ class ServiceWorkerNavigationPreloadTest : public ServiceWorkerBrowserTest {
scoped_refptr<ServiceWorkerRegistration> registration) {
EXPECT_EQ(SERVICE_WORKER_OK, status);
ASSERT_TRUE(registration->active_version());
- registration->active_version()->set_navigation_preload_enabled(true);
+ registration->EnableNavigationPreload(true);
continuation.Run();
}
« no previous file with comments | « content/browser/bad_message.h ('k') | content/browser/service_worker/service_worker_dispatcher_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698