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

Unified Diff: extensions/common/extension_api.h

Issue 411733002: WIP: diff which plumbs through the event URL. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/api/_api_features.json ('k') | extensions/common/extension_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/extension_api.h
diff --git a/extensions/common/extension_api.h b/extensions/common/extension_api.h
index 8ce02454877500b2cf6196e2bbbaed277d7fef38..d03c3390ff6a58c8655ba34dbfb2db7ad992bd26 100644
--- a/extensions/common/extension_api.h
+++ b/extensions/common/extension_api.h
@@ -109,8 +109,8 @@ class ExtensionAPI {
bool IsAvailableInUntrustedContext(const std::string& name,
const Extension* extension);
- // Returns true if |name| is available to webui contexts.
- bool IsAvailableToWebUI(const std::string& name);
+ // Returns true if |name| is available to WebUI contexts on |url|.
+ bool IsAvailableToWebUI(const std::string& name, const GURL& url);
// Gets the schema for the extension API with namespace |full_name|.
// Ownership remains with this object.
« no previous file with comments | « extensions/common/api/_api_features.json ('k') | extensions/common/extension_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698