Index: chrome/renderer/resources/extensions/send_request.js |
diff --git a/chrome/renderer/resources/extensions/send_request.js b/chrome/renderer/resources/extensions/send_request.js |
index 151389e2244a8df95b022bffbe2a40a5a7fa45e4..22ff6b571f316e8832ac4a9ec52d22498f7f71fe 100644 |
--- a/chrome/renderer/resources/extensions/send_request.js |
+++ b/chrome/renderer/resources/extensions/send_request.js |
@@ -3,9 +3,9 @@ |
// found in the LICENSE file. |
var chromeHidden = requireNative('chrome_hidden').GetChromeHidden(); |
-var sgb = requireNative('schema_generated_bindings'); |
-var GetNextRequestId = sgb.GetNextRequestId; |
-var StartRequest = sgb.StartRequest; |
+var natives = requireNative('sendRequest'); |
+var GetNextRequestId = natives.GetNextRequestId; |
+var StartRequest = natives.StartRequest; |
not at google - send to devlin
2012/03/30 03:23:18
i reckon a bit cleaner to just require this as "se
koz (OOO until 15th September)
2012/04/03 00:15:27
Cool, but as sendRequest() is already the name of
|
// Callback handling. |
var requests = []; |