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

Unified Diff: chrome/renderer/extensions/chrome_private_custom_bindings.h

Issue 9386001: Implement a module system for the extension bindings JS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re-jigged to use ModuleSystem Created 8 years, 10 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/extensions/chrome_private_custom_bindings.h
diff --git a/chrome/renderer/extensions/chrome_private_custom_bindings.h b/chrome/renderer/extensions/chrome_private_custom_bindings.h
index d1bfdb98493fa180f4961bc521293abc8927533b..0d6fd5e8c8c33b534813acd16d06627d8bd85c9a 100644
--- a/chrome/renderer/extensions/chrome_private_custom_bindings.h
+++ b/chrome/renderer/extensions/chrome_private_custom_bindings.h
@@ -15,14 +15,9 @@ namespace extensions {
// Implements custom bindings for the chromePrivate API.
class ChromePrivateCustomBindings : public ChromeV8Extension {
public:
- ChromePrivateCustomBindings(
- int dependency_count,
- const char** dependencies,
+ explicit ChromePrivateCustomBindings(
ExtensionDispatcher* extension_dispatcher);
- virtual v8::Handle<v8::FunctionTemplate> GetNativeFunction(
- v8::Handle<v8::String> name) OVERRIDE;
-
private:
// Decodes supplied JPEG byte array to image pixel array.
static v8::Handle<v8::Value> DecodeJPEG(const v8::Arguments& args);

Powered by Google App Engine
This is Rietveld 408576698