commit | 8f804a1da8994c447c8e7987eb5e974c8ef71c90 | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Thu May 08 23:48:10 2014 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Thu May 08 23:48:10 2014 |
tree | 82c3b6f8f30d92204dfed67510e9cba1a6c6d9d9 | |
parent | 14968c3de5f51a06fb9a009c8b2943a3b6259c40 [diff] |
Populate .current right after navigator.serviceWorker is accessed - Remove AddScriptClient/RemoveScriptClient messsaging - SetCurrent, StateChanged messages are always sent to the document thread - Changed ObjectDestroyed message to {Increment,Decrement}RefCount - Multiple providers for the same document could share one SWProviderContext (new class) - SWProviderContext is: -- responsible for keeping refcount for .current etc (while no script provider's available -- responsible for updating .current info for newer provider initialization -- responsible for forwarding .current related messages to worker providers --> DROPPED BUG=366538 TEST=to be added later (https://codereview.chromium.org/265943003/) [email protected], [email protected], [email protected], [email protected] Review URL: https://codereview.chromium.org/261533003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269102 0039d316-1c4b-4281-b951-d872f2087c98