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

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

Issue 10435003: Add support for 'nocompile' to IDL schema compiler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review fixes, and rebased Created 8 years, 7 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/common/extensions/api/experimental_idltest.idl
diff --git a/chrome/common/extensions/api/experimental_idltest.idl b/chrome/common/extensions/api/experimental_idltest.idl
index bfecbd350a55e531b8f3330df8296f35a59c3d68..4ee9ff71c616010f7537361dbc532ddffd803150 100644
--- a/chrome/common/extensions/api/experimental_idltest.idl
+++ b/chrome/common/extensions/api/experimental_idltest.idl
@@ -21,6 +21,11 @@
static void sendArrayBufferView([instanceOf=Uint8Array] object input,
LongArrayCallback cb);
static void getArrayBuffer(ArrayBufferCallback cb);
+
+ // This function should not have C++ code autogenerated (the variable name
+ // |switch| should cause compile errors if it does). But the name should
+ // get defined and made visible from within extensions/apps code.
+ [nocompile] static void nocompileFunc(long switch);
};
};

Powered by Google App Engine
This is Rietveld 408576698