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

Unified Diff: extensions/renderer/api_custom_types.h

Issue 2718543004: [Extensions Bindings] Add ChromeSetting custom type (Closed)
Patch Set: . Created 3 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: 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_

Powered by Google App Engine
This is Rietveld 408576698