Index: chrome/browser/extensions/api/generated_api_functions.cc.tmpl |
diff --git a/chrome/browser/extensions/api/generated_api_functions.cc.tmpl b/chrome/browser/extensions/api/generated_api_functions.cc.tmpl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2e70b523eb839350053591893cc3905a19dd7afe |
--- /dev/null |
+++ b/chrome/browser/extensions/api/generated_api_functions.cc.tmpl |
@@ -0,0 +1,30 @@ |
+// Copyright (c) $year The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// This file is generated. Don't edit it. |
+ |
+\#include "$header_pathname" |
+ |
+namespace extensions { |
+ |
+#for $family in $families |
+// |
+// -- $family.name |
+#for $function in $family.functions |
+#for $return_value in $function.return_values |
+const char k${return_value.name}Key[] = "k${return_value.name}"; |
+#end for |
+#end for |
+#end for |
+ |
+// Implement the following functions elsewhere: |
+#for $family in $families |
+// |
+// -- $family.name |
+#for $f in $family.functions |
+// bool $f.class_name::RunImpl(); |
+#end for |
+#end for |
+ |
+} // namespace extensions |