Index: chrome/renderer/resources/extensions/enterprise_platform_keys_internal_custom_bindings.js |
diff --git a/chrome/test/data/extensions/api_test/automation/tests/content.js b/chrome/renderer/resources/extensions/enterprise_platform_keys_internal_custom_bindings.js |
similarity index 53% |
copy from chrome/test/data/extensions/api_test/automation/tests/content.js |
copy to chrome/renderer/resources/extensions/enterprise_platform_keys_internal_custom_bindings.js |
index 694ce16d00f475777f11980ad6ac9198bff4ef43..25120f3f62d267b100f1c0c3c92ed35a5823b491 100644 |
--- a/chrome/test/data/extensions/api_test/automation/tests/content.js |
+++ b/chrome/renderer/resources/extensions/enterprise_platform_keys_internal_custom_bindings.js |
@@ -2,4 +2,6 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-chrome.runtime.sendMessage({ 'loaded': true }); |
+exports.binding = require('binding') |
+ .Binding.create('enterprise.platformKeysInternal') |
+ .generate(); |
not at google - send to devlin
2014/05/05 21:09:24
this simple behaviour is generated for you. you on
pneubeck (no reviews)
2014/05/06 14:07:21
Hm, would be nice, but if I only remove the accord
not at google - send to devlin
2014/05/07 00:00:12
Ah right.
Yes, the problem is that you're accessi
pneubeck (no reviews)
2014/05/07 21:44:19
Internal APIs are accessed by e.g.:
var binding =
not at google - send to devlin
2014/05/08 00:13:14
I see. Don't call it "custom bindings" though, it'
pneubeck (no reviews)
2014/05/08 15:04:17
Yes, that's better.
Done.
|