Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(733)

Side by Side Diff: apps/shell/common/shell_extensions_client.cc

Issue 234413005: Move most of ChromeV8Context to a base ScriptContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: factor feature_channel out of module_system Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « apps/shell/common/shell_extensions_client.h ('k') | chrome/chrome_renderer.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « apps/shell/common/shell_extensions_client.h ('k') | chrome/chrome_renderer.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698