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

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

Issue 76703002: Media Galleries API Metadata: Make Blob native extension bindings available to multiple extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | « chrome/renderer/extensions/feedback_private_custom_bindings.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/resources/extensions/feedback_private_custom_bindings.js
diff --git a/chrome/renderer/resources/extensions/feedback_private_custom_bindings.js b/chrome/renderer/resources/extensions/feedback_private_custom_bindings.js
index cca402feae068a90f8b702c6b8a0bb8e8f49d66c..ee576d9165111519e68bc0f1d8d0a0bf736375d3 100644
--- a/chrome/renderer/resources/extensions/feedback_private_custom_bindings.js
+++ b/chrome/renderer/resources/extensions/feedback_private_custom_bindings.js
@@ -6,7 +6,7 @@
var binding = require('binding').Binding.create('feedbackPrivate');
-var feedbackPrivateNatives = requireNative('feedback_private');
+var blobNatives = requireNative('blob_natives');
binding.registerCustomHook(function(bindingsAPI) {
var apiFunctions = bindingsAPI.apiFunctions;
@@ -17,10 +17,10 @@ binding.registerCustomHook(function(bindingsAPI) {
if (feedbackInfo.attachedFile)
attachedFileBlobUuid =
- feedbackPrivateNatives.GetBlobUuid(feedbackInfo.attachedFile.data);
+ blobNatives.GetBlobUuid(feedbackInfo.attachedFile.data);
if (feedbackInfo.screenshot)
screenshotBlobUuid =
- feedbackPrivateNatives.GetBlobUuid(feedbackInfo.screenshot);
+ blobNatives.GetBlobUuid(feedbackInfo.screenshot);
feedbackInfo.attachedFileBlobUuid = attachedFileBlobUuid;
feedbackInfo.screenshotBlobUuid = screenshotBlobUuid;
« no previous file with comments | « chrome/renderer/extensions/feedback_private_custom_bindings.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698