PermissionService::RequestPermission returns the new permission status.
commit504d249963f4e47add3d32dfb98a45bc967fad04
authormlamouri <mlamouri@chromium.org>
Thu, 5 Mar 2015 16:56:02 +0000 (5 08:56 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 5 Mar 2015 16:57:37 +0000 (5 16:57 +0000)
treeef508c52d1b1ad3f2f7502fa273d5a12503c12e9
parent3dca802a2fb55ec7c998d392e0c2d7fabbef0bb4
PermissionService::RequestPermission returns the new permission status.

This is also using this new information for the Notifications API.

This is a web exposed behaviour: it is now possible for a web page to know
whether a Notifications permission was granted, denied or dismissed/ignored.

BUG=434547,436414

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

Cr-Commit-Position: refs/heads/master@{#319265}
content/browser/permissions/permission_service_impl.cc
content/renderer/notification_permission_dispatcher.cc
content/shell/browser/layout_test/layout_test_content_browser_client.cc
content/shell/browser/layout_test/layout_test_content_browser_client.h
content/shell/browser/layout_test/layout_test_notification_manager.cc
content/shell/browser/layout_test/layout_test_notification_manager.h