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

Unified Diff: chrome/browser/android/webapps/add_to_homescreen_data_fetcher_unittest.cc

Issue 2968123002: Introduce ServiceWorkerRegistrationOptions struct for service worker options (Closed)
Patch Set: address more 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
« no previous file with comments | « no previous file | content/browser/background_fetch/background_fetch_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/webapps/add_to_homescreen_data_fetcher_unittest.cc
diff --git a/chrome/browser/android/webapps/add_to_homescreen_data_fetcher_unittest.cc b/chrome/browser/android/webapps/add_to_homescreen_data_fetcher_unittest.cc
index ebe6b852474512e45d248f019add558b189a8fd1..2a8fbbc3723e8bca565dfadd91cfcf06f76874c4 100644
--- a/chrome/browser/android/webapps/add_to_homescreen_data_fetcher_unittest.cc
+++ b/chrome/browser/android/webapps/add_to_homescreen_data_fetcher_unittest.cc
@@ -263,7 +263,8 @@ class AddToHomescreenDataFetcherTest : public ChromeRenderViewHostTestHarness {
void RegisterServiceWorker(const GURL& url) {
base::RunLoop run_loop;
embedded_worker_test_helper_->context()->RegisterServiceWorker(
- url, GURL(url.spec() + "/service_worker.js"), nullptr,
+ GURL(url.spec() + "/service_worker.js"),
+ content::ServiceWorkerRegistrationOptions(url), nullptr,
base::Bind(&AddToHomescreenDataFetcherTest::OnServiceWorkerRegistered,
base::Unretained(this), run_loop.QuitClosure()));
}
« no previous file with comments | « no previous file | content/browser/background_fetch/background_fetch_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698