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 |