[Push] Enable PushManager.hasPermission() in browser tests.
commit6aa612689f8f19153c0ee3a6b1befa5650226a6f
authormlamouri <mlamouri@chromium.org>
Sat, 21 Feb 2015 14:21:49 +0000 (21 06:21 -0800)
committerCommit bot <commit-bot@chromium.org>
Sat, 21 Feb 2015 14:22:16 +0000 (21 14:22 +0000)
tree0eae02c5ac995fc8fe7f6f664097bffe3fac095f
parentf7c5852af339f61a13f66712fc45ecf909154bef
[Push] Enable PushManager.hasPermission() in browser tests.

Enables PushManager.hasPermission() as a transition until the Permissions API
can be used in order to get that information. It will save a lot of trouble in
changing the current test in order to no longer use hasPermission() then change
them again to use the Permissions API.

This is a three sided CL:
1- https://codereview.chromium.org/926793004
2- <this>
3- https://codereview.chromium.org/936873002

BUG=449178

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

Cr-Commit-Position: refs/heads/master@{#317512}
chrome/browser/services/gcm/push_messaging_browsertest.cc
content/browser/renderer_host/render_process_host_impl.cc
content/child/runtime_features.cc
content/public/common/content_switches.cc
content/public/common/content_switches.h