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

Unified Diff: extensions/common/extension_api_stub.cc

Issue 404883002: Allow extension APIs to be called from WebUI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android compile Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/common/extension_api.cc ('k') | extensions/common/features/feature.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/extension_api_stub.cc
diff --git a/extensions/common/extension_api_stub.cc b/extensions/common/extension_api_stub.cc
index da023344c2790b46cea8565998b369cbec49b3c4..439b7e1e099c2913ddd466ec9e6afd5c228c31c9 100644
--- a/extensions/common/extension_api_stub.cc
+++ b/extensions/common/extension_api_stub.cc
@@ -41,6 +41,10 @@ bool ExtensionAPI::IsAvailableInUntrustedContext(const std::string& full_name,
return false;
}
+bool ExtensionAPI::IsAvailableToWebUI(const std::string& name) {
+ return false;
+}
+
const base::DictionaryValue* ExtensionAPI::GetSchema(
const std::string& full_name) {
return NULL;
« no previous file with comments | « extensions/common/extension_api.cc ('k') | extensions/common/features/feature.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698