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

Unified Diff: extensions/renderer/dispatcher.cc

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: extensions/renderer/dispatcher.cc
diff --git a/extensions/renderer/dispatcher.cc b/extensions/renderer/dispatcher.cc
index 75b2e43918e906c3fb2616d0e13a0ec8fe80576d..5dbba4768887c5441b5704dc1ba98bd870cfd406 100644
--- a/extensions/renderer/dispatcher.cc
+++ b/extensions/renderer/dispatcher.cc
@@ -1053,6 +1053,19 @@ void Dispatcher::PopulateSourceMap() {
source_map_.RegisterSource("app.runtime", IDR_APP_RUNTIME_CUSTOM_BINDINGS_JS);
source_map_.RegisterSource("contextMenus",
IDR_CONTEXT_MENUS_CUSTOM_BINDINGS_JS);
+ source_map_.RegisterSource("enterprise.platformKeys",
+ IDR_ENTERPRISE_PLATFORM_KEYS_CUSTOM_BINDINGS_JS);
+ source_map_.RegisterSource("enterprise.platformKeys.Key",
+ IDR_ENTERPRISE_PLATFORM_KEYS_KEY_JS);
+ source_map_.RegisterSource("enterprise.platformKeys.SubtleCrypto",
+ IDR_ENTERPRISE_PLATFORM_KEYS_SUBTLE_CRYPTO_JS);
+ source_map_.RegisterSource("enterprise.platformKeys.Token",
+ IDR_ENTERPRISE_PLATFORM_KEYS_TOKEN_JS);
+ source_map_.RegisterSource("enterprise.platformKeys.utils",
+ IDR_ENTERPRISE_PLATFORM_KEYS_UTILS_JS);
+ source_map_.RegisterSource(
+ "enterprise.platformKeysInternal",
+ IDR_ENTERPRISE_PLATFORM_KEYS_INTERNAL_CUSTOM_BINDINGS_JS);
not at google - send to devlin 2014/05/05 21:09:24 this is a chrome feature, so should go in chrome/r
pneubeck (no reviews) 2014/05/06 14:07:21 Done.
source_map_.RegisterSource("extension", IDR_EXTENSION_CUSTOM_BINDINGS_JS);
source_map_.RegisterSource("i18n", IDR_I18N_CUSTOM_BINDINGS_JS);
source_map_.RegisterSource("permissions", IDR_PERMISSIONS_CUSTOM_BINDINGS_JS);

Powered by Google App Engine
This is Rietveld 408576698