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

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

Issue 15841013: Make miscellaneous_bindings and event_bindings Required as needed. Previously (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/webstore_custom_bindings.js
diff --git a/chrome/renderer/resources/extensions/webstore_custom_bindings.js b/chrome/renderer/resources/extensions/webstore_custom_bindings.js
index 8ef9935848aa331b86d3de24f32cd0e28242ed52..7e60d1661fa3b008dd80c4e8ca1d0b929301b872 100644
--- a/chrome/renderer/resources/extensions/webstore_custom_bindings.js
+++ b/chrome/renderer/resources/extensions/webstore_custom_bindings.js
@@ -50,13 +50,11 @@ var chromeWebstore = {
};
// Called by webstore_binding.cc.
-var chromeHiddenWebstore = {
- onInstallResponse: function(installId, success, error) {
- installer.onInstallResponse(installId, success, error);
- }
-};
+function onInstallResponse(installId, success, error) {
+ installer.onInstallResponse(installId, success, error);
+}
// These must match the names in InstallWebstorebinding in
// chrome/renderer/extensions/dispatcher.cc.
exports.chromeWebstore = chromeWebstore;
-exports.chromeHiddenWebstore = chromeHiddenWebstore;
+exports.onInstallResponse = onInstallResponse;
« no previous file with comments | « chrome/renderer/resources/extensions/web_request_custom_bindings.js ('k') | chrome/renderer/resources/renderer_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698