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

Unified Diff: include/v8.h

Issue 1427443002: Add optional data parameter to SetAccessCheckCallback (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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 | « no previous file | src/api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index ee9d12e3be915fadd6302eadc920561a2668034f..46e2eab3c6cb6593fd28336308c65db2bc1a1837 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -4674,7 +4674,8 @@ class V8_EXPORT ObjectTemplate : public Template {
* the access check callback will be called to determine whether or
* not to allow cross-context access to the properties.
*/
- void SetAccessCheckCallback(AccessCheckCallback callback);
+ void SetAccessCheckCallback(AccessCheckCallback callback,
+ Local<Value> data = Local<Value>());
V8_DEPRECATE_SOON(
"Use SetAccessCheckCallback instead",
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698