Implement WebPushProvider.unregister() in Chromium.
commit2447700c2e26741e9ca3d043c3693884d7b66cf5
authormlamouri <mlamouri@chromium.org>
Wed, 17 Dec 2014 17:47:55 +0000 (17 09:47 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 17 Dec 2014 17:48:24 +0000 (17 17:48 +0000)
tree868f5d89ee951461de9e3cd15272fa6c3f77fb89
parent0c5e4a2ef0070eebd3c87af60c57387a63ba2a72
Implement WebPushProvider.unregister() in Chromium.

This is plumbing the call all the way to GCM in chrome/.
It is also updating the layout test push service to react properly if
unregister() is called multiple times or on a non-registered origin.

This is part of a multi-sided CL:
Part 1: https://codereview.chromium.org/793913002/
Part 2: <this>
Part 3: https://codereview.chromium.org/800503002/

BUG=440958

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

Cr-Commit-Position: refs/heads/master@{#308819}
15 files changed:
chrome/browser/services/gcm/push_messaging_browsertest.cc
chrome/browser/services/gcm/push_messaging_service_impl.cc
chrome/browser/services/gcm/push_messaging_service_impl.h
chrome/test/data/push_messaging/push_test.js
content/browser/push_messaging/push_messaging_message_filter.cc
content/browser/push_messaging/push_messaging_message_filter.h
content/child/push_messaging/push_dispatcher.cc
content/child/push_messaging/push_provider.cc
content/child/push_messaging/push_provider.h
content/common/DEPS
content/common/push_messaging_messages.h
content/public/browser/push_messaging_service.h
content/public/common/push_messaging_status.h
content/shell/browser/layout_test/layout_test_push_messaging_service.cc
content/shell/browser/layout_test/layout_test_push_messaging_service.h