Index: chrome/common/extensions/api/idltest.idl |
diff --git a/chrome/common/extensions/api/idltest.idl b/chrome/common/extensions/api/idltest.idl |
index 9cb8bb2a48abcad9fc39cfb290e81bc8c01c747f..4bb0ab5e0a4aeffcc3082dc4b2303efd7d7d4be9 100644 |
--- a/chrome/common/extensions/api/idltest.idl |
+++ b/chrome/common/extensions/api/idltest.idl |
@@ -25,6 +25,11 @@ namespace idltest { |
// |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); |
+ |
+ // This function should not have C++ code autogenerated (the variable name |
+ // |switch| should cause compile errors if it does). The name should also |
+ // never be defined in Javascript and invisible to extensions/apps code. |
+ [nodefine] static void nodefineFunc(long switch); |
}; |
}; |