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

Unified Diff: content/browser/browsing_data/clear_site_data_throttle_browsertest.cc

Issue 2771823002: Implement updateViaCache flag and no-cache by default for main service worker scripts
Patch Set: Move API change to another patch and address comments Created 3 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/browser/browsing_data/clear_site_data_throttle_browsertest.cc
diff --git a/content/browser/browsing_data/clear_site_data_throttle_browsertest.cc b/content/browser/browsing_data/clear_site_data_throttle_browsertest.cc
index 717527d318a0464edabb25f217fe60936c4e4b99..bcce8d4021963c5d8f8e534adf7d9d70f2741b55 100644
--- a/content/browser/browsing_data/clear_site_data_throttle_browsertest.cc
+++ b/content/browser/browsing_data/clear_site_data_throttle_browsertest.cc
@@ -254,6 +254,7 @@ class ClearSiteDataThrottleBrowserTest : public ContentBrowserTest {
base::BindOnce(
&ServiceWorkerContextWrapper::RegisterServiceWorker,
base::Unretained(service_worker_context), scope_url, js_url,
+ blink::WebServiceWorkerUpdateViaCache::kImports,
base::Bind(
&ClearSiteDataThrottleBrowserTest::AddServiceWorkerCallback,
base::Unretained(this))));

Powered by Google App Engine
This is Rietveld 408576698