summaryrefslogtreecommitdiffstats
path: root/apps/shell/common/shell_extensions_client.cc
diff options
context:
space:
mode:
Diffstat (limited to 'apps/shell/common/shell_extensions_client.cc')
-rw-r--r--apps/shell/common/shell_extensions_client.cc9
1 files changed, 1 insertions, 8 deletions
diff --git a/apps/shell/common/shell_extensions_client.cc b/apps/shell/common/shell_extensions_client.cc
index 959464c..4d08fc6 100644
--- a/apps/shell/common/shell_extensions_client.cc
+++ b/apps/shell/common/shell_extensions_client.cc
@@ -5,7 +5,6 @@
#include "apps/shell/common/shell_extensions_client.h"
#include "apps/shell/common/api/generated_schemas.h"
-#include "apps/shell/common/shell_app_runtime.h"
#include "base/logging.h"
#include "chrome/common/extensions/api/generated_schemas.h"
#include "chrome/common/extensions/permissions/chrome_api_permissions.h"
@@ -193,8 +192,7 @@ bool ShellExtensionsClient::IsAPISchemaGenerated(
// have the Chrome app APIs available.
return extensions::api::GeneratedSchemas::IsGenerated(name) ||
extensions::core_api::GeneratedSchemas::IsGenerated(name) ||
- apps::shell_api::GeneratedSchemas::IsGenerated(name) ||
- name == extensions::ShellAppRuntime::GetName();
+ apps::shell_api::GeneratedSchemas::IsGenerated(name);
}
base::StringPiece ShellExtensionsClient::GetAPISchema(
@@ -208,11 +206,6 @@ base::StringPiece ShellExtensionsClient::GetAPISchema(
if (apps::shell_api::GeneratedSchemas::IsGenerated(name))
return apps::shell_api::GeneratedSchemas::Get(name);
- // Special-case our simplified app.runtime implementation.
- // TODO(jamescook): Move this into a chrome.shell.onLaunched() event.
- if (name == extensions::ShellAppRuntime::GetName())
- return extensions::ShellAppRuntime::GetSchema();
-
return extensions::core_api::GeneratedSchemas::Get(name);
}