Index: extensions/renderer/api_custom_types.h |
diff --git a/extensions/renderer/api_custom_types.h b/extensions/renderer/api_custom_types.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e1559dc2a0bc6391057047a58973185bc5f0e479 |
--- /dev/null |
+++ b/extensions/renderer/api_custom_types.h |
@@ -0,0 +1,23 @@ |
+// Copyright 2017 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. |
+ |
+#ifndef EXTENSIONS_RENDERER_API_CUSTOM_TYPES_H_ |
+#define EXTENSIONS_RENDERER_API_CUSTOM_TYPES_H_ |
+ |
+#include "base/strings/string_piece.h" |
+ |
+namespace extensions { |
+class APISignature; |
+ |
+namespace api_custom_types { |
+ |
+// Returns the schema associated with the specified function. |
+const APISignature& GetFunctionSchema(base::StringPiece api_name, |
+ base::StringPiece type_name, |
+ base::StringPiece function_name); |
+ |
+} // namespace api_custom_types |
+} // namespace extensions |
+ |
+#endif // EXTENSIONS_RENDERER_API_CUSTOM_TYPES_H_ |