ServiceWorker: Make SWProviderHost listen to SWRegistration
This is a refactoring patch. Before this patch, ServiceWorkerRegisterJob is responsible for updating ServiceWorkerRegistration object and document's version attributes (ie. '.installing' etc) via ServiceWorkerProviderHost. This change makes the provider host implement Registration::Listener. Listers are notified when the registration is updated, so the register job no longer has to manage the version attributes. BUG=396400 TEST=content_unittests --gtest_filter=ServiceWorker* TEST=run_webkit_tests.py --debug http/tests/serviceworker Review URL: https://codereview.chromium.org/417043006 Cr-Commit-Position: refs/heads/master@{#288323} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288323 0039d316-1c4b-4281-b951-d872f2087c98
Showing
This diff is collapsed.
Please register or sign in to comment