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

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

Issue 501453002: Decouple script_url from ServiceWorkerRegistration (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync after major collision Created 6 years, 4 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/service_worker/service_worker_url_request_job_unittest.cc
diff --git a/content/browser/service_worker/service_worker_url_request_job_unittest.cc b/content/browser/service_worker/service_worker_url_request_job_unittest.cc
index 40a2e8d1aa52057c221e1da79b44f1a430cba8bf..082800d03134367572ab21ea49b53108b9447a9c 100644
--- a/content/browser/service_worker/service_worker_url_request_job_unittest.cc
+++ b/content/browser/service_worker/service_worker_url_request_job_unittest.cc
@@ -101,11 +101,13 @@ class ServiceWorkerURLRequestJobTest : public testing::Test {
registration_ = new ServiceWorkerRegistration(
GURL("http://example.com/"),
- GURL("http://example.com/service_worker.js"),
1L,
helper_->context()->AsWeakPtr());
version_ = new ServiceWorkerVersion(
- registration_.get(), 1L, helper_->context()->AsWeakPtr());
+ registration_.get(),
+ GURL("http://example.com/service_worker.js"),
+ 1L,
+ helper_->context()->AsWeakPtr());
scoped_ptr<ServiceWorkerProviderHost> provider_host(
new ServiceWorkerProviderHost(

Powered by Google App Engine
This is Rietveld 408576698