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

Unified Diff: chrome/browser/extensions/api/generated_base_classes.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
Index: chrome/browser/extensions/api/generated_base_classes.h.tmpl
diff --git a/chrome/browser/extensions/api/generated_base_classes.h.tmpl b/chrome/browser/extensions/api/generated_base_classes.h.tmpl
new file mode 100644
index 0000000000000000000000000000000000000000..78508bd5c767087ea9c9d70ed2045ef6052fc54b
--- /dev/null
+++ b/chrome/browser/extensions/api/generated_base_classes.h.tmpl
@@ -0,0 +1,33 @@
+// 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.
+
+\#ifndef $guard
+\#define $guard
+\#pragma once
+
+\#include "chrome/browser/extensions/api/api_function.h"
+
+\#include <string>
+
+namespace extensions {
+
+#for $family in $families
+// TODO(you): implement concrete subclass in this location:
+// ${family.header_path}
+#for $f in $family.functions
+class Async${f.class_name}Function : public AsyncIOAPIFunction {
+ public:
+ Async${f.class_name}Function() {}
+ // TODO(you): your subclass must contain this line:
+ // DECLARE_EXTENSION_FUNCTION_NAME("$f.dotted_name")
+};
+
+#end for
+#end for
+
+} // namespace extensions
+
+\#endif // $guard
« no previous file with comments | « chrome/browser/extensions/api/generated_api_functions.h.tmpl ('k') | chrome/browser/extensions/api/socket/socket_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698