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 |