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

Unified Diff: content/browser/background_fetch/background_fetch_event_dispatcher_unittest.cc

Issue 2771823002: Implement updateViaCache flag and no-cache by default for main service worker scripts
Patch Set: fix tests Created 3 years, 9 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/background_fetch/background_fetch_event_dispatcher_unittest.cc
diff --git a/content/browser/background_fetch/background_fetch_event_dispatcher_unittest.cc b/content/browser/background_fetch/background_fetch_event_dispatcher_unittest.cc
index 62d1b023e4bbe764ddadcde6a4774b59fc56d9a6..5ab474eb8b1d23963e6db1b5264f49d0699497d3 100644
--- a/content/browser/background_fetch/background_fetch_event_dispatcher_unittest.cc
+++ b/content/browser/background_fetch/background_fetch_event_dispatcher_unittest.cc
@@ -107,7 +107,8 @@ class BackgroundFetchEventDispatcherTest : public ::testing::Test {
{
base::RunLoop run_loop;
embedded_worker_test_helper_.context()->RegisterServiceWorker(
- origin, script_url, nullptr /* provider_host */,
+ script_url, ServiceWorkerRegistrationOptions(origin),
+ nullptr /* provider_host */,
base::Bind(
&BackgroundFetchEventDispatcherTest::DidRegisterServiceWorker,
base::Unretained(this), &service_worker_registration_id,

Powered by Google App Engine
This is Rietveld 408576698