summaryrefslogtreecommitdiffstats
path: root/content/content_common_mojo_bindings.gyp
diff options
context:
space:
mode:
authortimvolodine <timvolodine@chromium.org>2014-12-09 10:18:44 -0800
committerCommit bot <commit-bot@chromium.org>2014-12-09 18:19:08 +0000
commit14570267ac4d5dc473d29f256e8d044e9bfcc8d2 (patch)
treec906f1f7aa5032f5b70eb1abf83bdbdbd157e20c /content/content_common_mojo_bindings.gyp
parent1d40eb8b81ebe2dbe6e14c487b8a3c1a10c7b4ec (diff)
downloadchromium_src-14570267ac4d5dc473d29f256e8d044e9bfcc8d2.zip
chromium_src-14570267ac4d5dc473d29f256e8d044e9bfcc8d2.tar.gz
chromium_src-14570267ac4d5dc473d29f256e8d044e9bfcc8d2.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} Review URL: https://codereview.chromium.org/750633003 Cr-Commit-Position: refs/heads/master@{#307504}
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',
+ ]
+ },
+ ]
+}