OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef EXTENSIONS_RENDERER_API_CUSTOM_TYPES_H_ |
| 6 #define EXTENSIONS_RENDERER_API_CUSTOM_TYPES_H_ |
| 7 |
| 8 #include "base/strings/string_piece.h" |
| 9 |
| 10 namespace extensions { |
| 11 class APISignature; |
| 12 |
| 13 namespace api_custom_types { |
| 14 |
| 15 // Returns the schema associated with the specified function. |
| 16 const APISignature& GetFunctionSchema(base::StringPiece api_name, |
| 17 base::StringPiece type_name, |
| 18 base::StringPiece function_name); |
| 19 |
| 20 } // namespace api_custom_types |
| 21 } // namespace extensions |
| 22 |
| 23 #endif // EXTENSIONS_RENDERER_API_CUSTOM_TYPES_H_ |
OLD | NEW |