#include "libcef/common/extensions/chrome_generated_schemas.h"
#include "libcef/browser/extensions/chrome_api_registration.h"
#include "chrome/common/extensions/api/generated_schemas.h"
namespace extensions {
namespace api {
namespace cef {
base::StringPiece ChromeGeneratedSchemas::Get(const std::string& name) {
if (!ChromeFunctionRegistry::IsSupported(name))
return base::StringPiece();
return extensions::api::ChromeGeneratedSchemas::Get(name);
}
bool ChromeGeneratedSchemas::IsGenerated(std::string name) {
if (!ChromeFunctionRegistry::IsSupported(name))
return false;
return extensions::api::ChromeGeneratedSchemas::IsGenerated(name);
}
}
}
}