1 // Copyright (c) 2016 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 // GENERATED FROM THE API DEFINITIONS IN 6 // chrome\common\extensions\api 7 // DO NOT EDIT. 8 9 #ifndef CEF_LIBCEF_COMMON_EXTENSIONS_CHROME_GENERATED_SCHEMAS_H_ 10 #define CEF_LIBCEF_COMMON_EXTENSIONS_CHROME_GENERATED_SCHEMAS_H_ 11 12 #include <map> 13 #include <string> 14 15 #include "base/strings/string_piece.h" 16 17 namespace extensions { 18 namespace api { 19 namespace cef { 20 21 class ChromeGeneratedSchemas { 22 public: 23 // Determines if schema named |name| is generated. 24 static bool IsGenerated(std::string name); 25 26 // Gets the API schema named |name|. 27 static base::StringPiece Get(const std::string& name); 28 }; 29 30 } // namespace cef 31 } // namespace api 32 } // namespace extensions 33 34 #endif // CEF_LIBCEF_COMMON_EXTENSIONS_CHROME_GENERATED_SCHEMAS_H_ 35