Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4994)

Unified Diff: chrome/renderer/resources/extensions/enterprise_platform_keys_internal_custom_bindings.js

Issue 214863002: Extension API enterprise.platformKeys. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments. Splitted custom_binding, added comments... Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698