summaryrefslogtreecommitdiffstats
path: root/content/content_common_mojo_bindings.gyp
diff options
context:
space:
mode:
authortimvolodine <timvolodine@chromium.org>2014-12-11 11:32:26 -0800
committerCommit bot <commit-bot@chromium.org>2014-12-11 19:32:47 +0000
commit089c07c966a9dc169f0822b90d92400bf23e19f7 (patch)
tree3a40228bcfaa4d1da4eda7c2eb82f654f85b4c1f /content/content_common_mojo_bindings.gyp
parentc429dd655de4317b2366440dd2c00ee4733136cf (diff)
downloadchromium_src-089c07c966a9dc169f0822b90d92400bf23e19f7.zip
chromium_src-089c07c966a9dc169f0822b90d92400bf23e19f7.tar.gz
chromium_src-089c07c966a9dc169f0822b90d92400bf23e19f7.tar.bz2
Implement HasPermission() method in PermissionService.
This patch implements the HasPermission() method in the mojo PermissionService. This methiod will be required for the Permissions API, see https://w3c.github.io/permissions/ BUG=430238 Committed: https://crrev.com/277b23d74855b51ebe67ae0da7cd9e0b053044cf Cr-Commit-Position: refs/heads/master@{#307302} Committed: https://crrev.com/14570267ac4d5dc473d29f256e8d044e9bfcc8d2 Cr-Commit-Position: refs/heads/master@{#307504} Review URL: https://codereview.chromium.org/750633003 Cr-Commit-Position: refs/heads/master@{#307948}
Diffstat (limited to 'content/content_common_mojo_bindings.gyp')
-rw-r--r--content/content_common_mojo_bindings.gyp37
1 files changed, 37 insertions, 0 deletions
diff --git a/content/content_common_mojo_bindings.gyp b/content/content_common_mojo_bindings.gyp
new file mode 100644
index 0000000..1a969ed
--- /dev/null
+++ b/content/content_common_mojo_bindings.gyp
@@ -0,0 +1,37 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'targets': [
+ {
+ 'target_name': 'content_common_mojo_bindings_mojom',
+ 'type': 'none',
+ 'variables': {
+ 'mojom_files': [
+ # NOTE: Sources duplicated in //content/common/BUILD.gn:mojo_bindings.
+ 'common/geolocation_service.mojom',
+ 'common/permission_service.mojom',
+ 'common/render_frame_setup.mojom',
+
+ # NOTE: Sources duplicated in
+ # //content/public/common/BUILD.gn:mojo_bindings.
+ 'public/common/mojo_geoposition.mojom',
+ 'public/common/permission_status.mojom',
+ ],
+ },
+ 'includes': [ '../mojo/public/tools/bindings/mojom_bindings_generator_explicit.gypi' ],
+ },
+ {
+ 'target_name': 'content_common_mojo_bindings',
+ 'type': 'static_library',
+ 'variables': { 'enable_wexit_time_destructors': 1, },
+ 'dependencies': [
+ 'content_common_mojo_bindings_mojom',
+ '../mojo/mojo_base.gyp:mojo_environment_chromium',
+ '../mojo/public/mojo_public.gyp:mojo_application_bindings',
+ '../mojo/public/mojo_public.gyp:mojo_cpp_bindings',
+ ]
+ },
+ ]
+}