Reparent SWProcessManager onto SWContextWrapper.
commit76981022831fad41f4fc06366087f4cd769ab219
authorjyasskin@chromium.org <jyasskin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 26 May 2014 16:15:07 +0000 (26 16:15 +0000)
committerjyasskin@chromium.org <jyasskin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 26 May 2014 16:15:07 +0000 (26 16:15 +0000)
treeee671350385948ed16ab1e947a83a5c2fd80dad6
parentba97e73fdf6aa88521c302720f25a0a427dbee56
Reparent SWProcessManager onto SWContextWrapper.

This will allow Wrapper::Shutdown to drop all process references synchronously
in a future change, which will make it possible to shutdown Chrome with service
workers running and without hitting the DCHECK in
ProfileDestroyer::DestroyProfileWhenAppropriate().

BUG=368570

Review URL: https://codereview.chromium.org/292973003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272839 0039d316-1c4b-4281-b951-d872f2087c98
content/browser/service_worker/embedded_worker_test_helper.cc
content/browser/service_worker/service_worker_context_core.cc
content/browser/service_worker/service_worker_context_core.h
content/browser/service_worker/service_worker_context_wrapper.cc
content/browser/service_worker/service_worker_context_wrapper.h
content/browser/service_worker/service_worker_process_manager.cc
content/browser/service_worker/service_worker_process_manager.h
content/browser/service_worker/service_worker_provider_host_unittest.cc
content/browser/service_worker/service_worker_registration_unittest.cc
content/browser/service_worker/service_worker_storage_unittest.cc