Implement basic mojo Permission service and use it for Geolocation.
commit4ebe69f4f611e1eef0d8886b97abdae37687a14b
authormlamouri <mlamouri@chromium.org>
Fri, 14 Nov 2014 17:25:21 +0000 (14 09:25 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 14 Nov 2014 17:25:45 +0000 (14 17:25 +0000)
treeb4892b2d672ce938aa7ef7cf0514d06b45f8382e
parent1c7588f449d82d08314d97055148af341e67183b
Implement basic mojo Permission service and use it for Geolocation.

This is implementing one side of the mojo Permission service: requesting
a permission. This is being used by the Geolocation code in the renderer
process.

This CL is creating all the required hooks for the permission service
and can be used as a base to increment on top of.

BUG=430238, 420497

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

Cr-Commit-Position: refs/heads/master@{#304227}
21 files changed:
content/browser/frame_host/render_frame_host_impl.cc
content/browser/frame_host/render_frame_host_impl.h
content/browser/geolocation/geolocation_dispatcher_host.cc [deleted file]
content/browser/geolocation/geolocation_dispatcher_host.h [deleted file]
content/browser/permissions/permission_service_context.cc [new file with mode: 0644]
content/browser/permissions/permission_service_context.h [new file with mode: 0644]
content/browser/permissions/permission_service_impl.cc [new file with mode: 0644]
content/browser/permissions/permission_service_impl.h [new file with mode: 0644]
content/browser/renderer_host/render_process_host_impl.cc
content/browser/renderer_host/render_process_host_impl.h
content/browser/web_contents/web_contents_impl.cc
content/browser/web_contents/web_contents_impl.h
content/common/BUILD.gn
content/common/content_message_generator.h
content/common/geolocation_messages.h [deleted file]
content/common/permission_service.mojom [new file with mode: 0644]
content/content_browser.gypi
content/content_common.gypi
content/content_common_mojo_bindings.gypi
content/renderer/geolocation_dispatcher.cc
content/renderer/geolocation_dispatcher.h