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

Unified Diff: chrome/renderer/extensions/api_definitions_natives.h

Issue 10025007: Convert tabs, windows, and extension APIs to feature system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: blah Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/extensions/api_definitions_natives.h
diff --git a/chrome/renderer/extensions/api_definitions_natives.h b/chrome/renderer/extensions/api_definitions_natives.h
index 48a9abe874e608a8294d485f5ab17dc9d7abd350..31de4f035ac92ea5365a267c5f48eda9a34e420a 100644
--- a/chrome/renderer/extensions/api_definitions_natives.h
+++ b/chrome/renderer/extensions/api_definitions_natives.h
@@ -23,6 +23,10 @@ class ApiDefinitionsNatives : public ChromeV8Extension {
// the calling context.
v8::Handle<v8::Value> GetExtensionAPIDefinition(const v8::Arguments& args);
+ // bool IsMemberAllowed(string full_name)
+ // Returns true if the member is allowed for the current context.
+ v8::Handle<v8::Value> IsMemberAllowed(const v8::Arguments& args);
+
DISALLOW_COPY_AND_ASSIGN(ApiDefinitionsNatives);
};
« no previous file with comments | « chrome/common/extensions/permission_feature.cc ('k') | chrome/renderer/extensions/api_definitions_natives.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698