Implement registration job ordering

To handle the case of multiple registration requests coming in at the same time,
the ServiceWorkerJobCoordinator now keeps a queue of registration events for each pattern.

When a new registration request comes in for a pattern, it looks to see if the most recent request (at the back of the queue) is identical, and if so, piggy-backs on that request rather than creating a new one.

BUG=285976

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243999 0039d316-1c4b-4281-b951-d872f2087c98
Unregister Bluetooth profile when the extension that added it is unloaded.

BUG=332177
TEST=manually and new unit test

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244000 0039d316-1c4b-4281-b951-d872f2087c98
sync: fix tiny bug with NotificationServiceSessionsRouter

On Chrome os managed mode, if we get a blocked navigation before session sync is set up we can't do anything with it.

BUG=98892

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244001 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 244001