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

Unified Diff: chrome/common/extensions/api/idltest.idl

Issue 2949143002: [Extensions Bindings] Support ArrayBufferView in idl files (Closed)
Patch Set: extend comment Created 3 years, 6 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
« no previous file with comments | « no previous file | extensions/renderer/bindings/api_bindings_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/idltest.idl
diff --git a/chrome/common/extensions/api/idltest.idl b/chrome/common/extensions/api/idltest.idl
index 4bb0ab5e0a4aeffcc3082dc4b2303efd7d7d4be9..03b21d4b005900e3aa52ef5ec2bc20d52324f5c3 100644
--- a/chrome/common/extensions/api/idltest.idl
+++ b/chrome/common/extensions/api/idltest.idl
@@ -17,8 +17,9 @@ namespace idltest {
// I think because ArrayBufferView isn't an instantiable type. The best
// we might be able to do is have a 'choices' list including all the
// typed array subclasses like Uint8Array, Uint16Array, Float32Array, etc.
- static void sendArrayBufferView([instanceOf=Uint8Array] object input,
- LongArrayCallback cb);
+ static void sendArrayBufferView(
+ [instanceOf=Uint8Array] ArrayBufferView input,
+ LongArrayCallback cb);
static void getArrayBuffer(ArrayBufferCallback cb);
// This function should not have C++ code autogenerated (the variable name
« no previous file with comments | « no previous file | extensions/renderer/bindings/api_bindings_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698