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

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

Issue 9918006: Split SchemaGeneratedBindings up into smaller, more targetted native handlers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 9 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/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 = [];

Powered by Google App Engine
This is Rietveld 408576698