Index: extensions/shell/common/shell_extensions_client.cc |
diff --git a/extensions/shell/common/shell_extensions_client.cc b/extensions/shell/common/shell_extensions_client.cc |
index a26c95c2142ea9c8eab92f6bc257450614c8502d..faf0027d0d05f03a27a40795115ca16889d3d1c5 100644 |
--- a/extensions/shell/common/shell_extensions_client.cc |
+++ b/extensions/shell/common/shell_extensions_client.cc |
@@ -197,18 +197,18 @@ bool ShellExtensionsClient::IsScriptableURL(const GURL& url, |
bool ShellExtensionsClient::IsAPISchemaGenerated( |
const std::string& name) const { |
- return core_api::GeneratedSchemas::IsGenerated(name) || |
- shell::api::GeneratedSchemas::IsGenerated(name); |
+ return api::GeneratedSchemas::IsGenerated(name) || |
+ shell::api::ShellGeneratedSchemas::IsGenerated(name); |
} |
base::StringPiece ShellExtensionsClient::GetAPISchema( |
const std::string& name) const { |
// Schema for app_shell-only APIs. |
- if (shell::api::GeneratedSchemas::IsGenerated(name)) |
- return shell::api::GeneratedSchemas::Get(name); |
+ if (shell::api::ShellGeneratedSchemas::IsGenerated(name)) |
+ return shell::api::ShellGeneratedSchemas::Get(name); |
// Core extensions APIs. |
- return core_api::GeneratedSchemas::Get(name); |
+ return api::GeneratedSchemas::Get(name); |
} |
void ShellExtensionsClient::RegisterAPISchemaResources( |