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

Unified Diff: chrome/common/extensions/api/generated_messages.h.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 | « chrome/common/extensions/api/generated.json ('k') | chrome/common/extensions/docs/js/api_page_generator.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/generated_messages.h.tmpl
diff --git a/chrome/common/extensions/api/generated_messages.h.tmpl b/chrome/common/extensions/api/generated_messages.h.tmpl
new file mode 100644
index 0000000000000000000000000000000000000000..9c65a4b934a8b29d2e23a343a2e77c50ef213188
--- /dev/null
+++ b/chrome/common/extensions/api/generated_messages.h.tmpl
@@ -0,0 +1,27 @@
+// 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. The source is here:
+//
+// chrome/common/extensions/api/generated_messages.h.tmpl
+
+// IPC messages for extensions.
+// Multiply-included message file, hence no include guard.
+
+\#include "ipc/ipc_message_macros.h"
+
+\#define IPC_MESSAGE_START ExtensionAPIMsgStart
+
+#for $family in $families
+#for $function in $family.functions
+// ${function.class_name}
+IPC_MESSAGE_ROUTED#echo len(function.arguments) + 1#(ExtensionAPIHostMsg_${function.class_name},
+ int /* request_id */#for $argument in $function.arguments#,
+ $argument.mapped_type() /* $argument.name.lower */#end for#);
+IPC_MESSAGE_ROUTED2(ExtensionAPIViewMsg_${function.class_name}Response,
+ int /* request_id */,
+ int /* TEMP plain integer response */);
+
+#end for
+#end for
« no previous file with comments | « chrome/common/extensions/api/generated.json ('k') | chrome/common/extensions/docs/js/api_page_generator.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698