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

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

Issue 443593002: ServiceWorker: Move worker candidate process knowledge to ServiceWorkerProcessManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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_context_unittest.cc
diff --git a/content/browser/service_worker/service_worker_context_unittest.cc b/content/browser/service_worker/service_worker_context_unittest.cc
index ad550f87d8a9c9fdf4bf4558ad1a1c509d172c7d..0fb2fb9b502c44b68907f23b5b98dea125bf8676 100644
--- a/content/browser/service_worker/service_worker_context_unittest.cc
+++ b/content/browser/service_worker/service_worker_context_unittest.cc
@@ -144,7 +144,6 @@ TEST_F(ServiceWorkerContextTest, Register) {
context()->RegisterServiceWorker(
GURL("http://www.example.com/"),
GURL("http://www.example.com/service_worker.js"),
- render_process_id_,
NULL,
MakeRegisteredCallback(&called, &registration_id, &version_id));
@@ -187,7 +186,6 @@ TEST_F(ServiceWorkerContextTest, Register_RejectInstall) {
context()->RegisterServiceWorker(
GURL("http://www.example.com/"),
GURL("http://www.example.com/service_worker.js"),
- render_process_id_,
NULL,
MakeRegisteredCallback(&called, &registration_id, &version_id));
@@ -230,7 +228,6 @@ TEST_F(ServiceWorkerContextTest, Register_RejectActivate) {
context()->RegisterServiceWorker(
GURL("http://www.example.com/"),
GURL("http://www.example.com/service_worker.js"),
- render_process_id_,
NULL,
MakeRegisteredCallback(&called, &registration_id, &version_id));
@@ -271,7 +268,6 @@ TEST_F(ServiceWorkerContextTest, Unregister) {
context()->RegisterServiceWorker(
pattern,
GURL("http://www.example.com/service_worker.js"),
- render_process_id_,
NULL,
MakeRegisteredCallback(&called, &registration_id, &version_id));
@@ -311,7 +307,6 @@ TEST_F(ServiceWorkerContextTest, RegisterNewScript) {
context()->RegisterServiceWorker(
pattern,
GURL("http://www.example.com/service_worker.js"),
- render_process_id_,
NULL,
MakeRegisteredCallback(&called, &old_registration_id, &old_version_id));
@@ -327,7 +322,6 @@ TEST_F(ServiceWorkerContextTest, RegisterNewScript) {
context()->RegisterServiceWorker(
pattern,
GURL("http://www.example.com/service_worker_new.js"),
- render_process_id_,
NULL,
MakeRegisteredCallback(&called, &new_registration_id, &new_version_id));
@@ -353,7 +347,6 @@ TEST_F(ServiceWorkerContextTest, RegisterDuplicateScript) {
context()->RegisterServiceWorker(
pattern,
script_url,
- render_process_id_,
NULL,
MakeRegisteredCallback(&called, &old_registration_id, &old_version_id));
@@ -369,7 +362,6 @@ TEST_F(ServiceWorkerContextTest, RegisterDuplicateScript) {
context()->RegisterServiceWorker(
pattern,
script_url,
- render_process_id_,
NULL,
MakeRegisteredCallback(&called, &new_registration_id, &new_version_id));
@@ -388,7 +380,6 @@ TEST_F(ServiceWorkerContextTest, DeleteAndStartOver) {
context()->RegisterServiceWorker(
GURL("http://www.example.com/"),
GURL("http://www.example.com/service_worker.js"),
- render_process_id_,
NULL,
MakeRegisteredCallback(&called, &registration_id, &version_id));
@@ -436,7 +427,6 @@ TEST_F(ServiceWorkerContextTest, DeleteAndStartOver) {
context()->RegisterServiceWorker(
GURL("http://www.example.com/"),
GURL("http://www.example.com/service_worker.js"),
- render_process_id_,
NULL,
MakeRegisteredCallback(&called, &registration_id, &version_id));

Powered by Google App Engine
This is Rietveld 408576698