mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update source files for bracket style
This commit is contained in:
@ -14,15 +14,17 @@ namespace cef {
|
||||
|
||||
// static
|
||||
base::StringPiece ChromeGeneratedSchemas::Get(const std::string& name) {
|
||||
if (!ChromeFunctionRegistry::IsSupported(name))
|
||||
if (!ChromeFunctionRegistry::IsSupported(name)) {
|
||||
return base::StringPiece();
|
||||
}
|
||||
return extensions::api::ChromeGeneratedSchemas::Get(name);
|
||||
}
|
||||
|
||||
// static
|
||||
bool ChromeGeneratedSchemas::IsGenerated(std::string name) {
|
||||
if (!ChromeFunctionRegistry::IsSupported(name))
|
||||
if (!ChromeFunctionRegistry::IsSupported(name)) {
|
||||
return false;
|
||||
}
|
||||
return extensions::api::ChromeGeneratedSchemas::IsGenerated(name);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user