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

Unified Diff: chrome/browser/extensions/api/generated_api_functions.cc.tmpl

Issue 9359040: WIP IDL-IPC2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Checkpoint before going back to returning ListValue via ExtensionMsg_Response. 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
« no previous file with comments | « build/apiidlc.gypi ('k') | chrome/browser/extensions/api/generated_api_functions.h.tmpl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « build/apiidlc.gypi ('k') | chrome/browser/extensions/api/generated_api_functions.h.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698