OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "apps/shell/common/shell_extensions_client.h" | 5 #include "apps/shell/common/shell_extensions_client.h" |
6 | 6 |
7 #include "apps/shell/common/shell_app_runtime.h" | 7 #include "apps/shell/common/shell_app_runtime.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "chrome/common/extensions/api/generated_schemas.h" | 9 #include "chrome/common/extensions/api/generated_schemas.h" |
10 #include "chrome/common/extensions/permissions/chrome_api_permissions.h" | 10 #include "chrome/common/extensions/permissions/chrome_api_permissions.h" |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 // Special-case our simplified app.runtime implementation. | 172 // Special-case our simplified app.runtime implementation. |
173 if (name == extensions::ShellAppRuntime::GetName()) | 173 if (name == extensions::ShellAppRuntime::GetName()) |
174 return extensions::ShellAppRuntime::GetSchema(); | 174 return extensions::ShellAppRuntime::GetSchema(); |
175 | 175 |
176 return extensions::core_api::GeneratedSchemas::Get(name); | 176 return extensions::core_api::GeneratedSchemas::Get(name); |
177 } | 177 } |
178 | 178 |
179 void ShellExtensionsClient::AddExtraFeatureFilters( | 179 void ShellExtensionsClient::AddExtraFeatureFilters( |
180 extensions::SimpleFeature* feature) const {} | 180 extensions::SimpleFeature* feature) const {} |
181 | 181 |
| 182 bool ShellExtensionsClient::ShouldSuppressFatalErrors() const { return true; } |
| 183 |
182 } // namespace apps | 184 } // namespace apps |
OLD | NEW |