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

Unified Diff: extensions/renderer/dispatcher.cc

Issue 2960523002: [Extensions Bindings] Don't load sendRequest module with native bindings (Closed)
Patch Set: remove debug log Created 3 years, 6 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
« no previous file with comments | « no previous file | extensions/renderer/resources/set_icon.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/dispatcher.cc
diff --git a/extensions/renderer/dispatcher.cc b/extensions/renderer/dispatcher.cc
index 224946c63ba79d55ed664ddbd8161c49004bb7bc..79df5487e9498f5ff84ec47ff49ff5cdc6a351c9 100644
--- a/extensions/renderer/dispatcher.cc
+++ b/extensions/renderer/dispatcher.cc
@@ -728,7 +728,6 @@ std::vector<std::pair<const char*, int>> Dispatcher::GetJsResources() {
{"messaging", IDR_MESSAGING_JS},
{"messaging_utils", IDR_MESSAGING_UTILS_JS},
{kSchemaUtils, IDR_SCHEMA_UTILS_JS},
- {"sendRequest", IDR_SEND_REQUEST_JS},
{"setIcon", IDR_SET_ICON_JS},
{"test", IDR_TEST_CUSTOM_BINDINGS_JS},
{"test_environment_specific_bindings",
@@ -799,6 +798,7 @@ std::vector<std::pair<const char*, int>> Dispatcher::GetJsResources() {
if (!FeatureSwitch::native_crx_bindings()->IsEnabled()) {
resources.emplace_back("binding", IDR_BINDING_JS);
resources.emplace_back(kEventBindings, IDR_EVENT_BINDINGS_JS);
+ resources.emplace_back("sendRequest", IDR_SEND_REQUEST_JS);
// Custom types sources.
resources.emplace_back("StorageArea", IDR_STORAGE_AREA_JS);
« no previous file with comments | « no previous file | extensions/renderer/resources/set_icon.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698