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

Unified Diff: gin/arguments.h

Issue 2765853004: [Gin] Add Arguments::GetHolderCreationContext() (Closed)
Patch Set: Add test Created 3 years, 9 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 | « gin/BUILD.gn ('k') | gin/arguments.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gin/arguments.h
diff --git a/gin/arguments.h b/gin/arguments.h
index 55f9f449e2d226c222f4ced58ce7cdb0369803f8..99a5d16db21c388dc5dc859301e8deb85cc1c1fd 100644
--- a/gin/arguments.h
+++ b/gin/arguments.h
@@ -74,6 +74,9 @@ class GIN_EXPORT Arguments {
info_->GetReturnValue().Set(v8_value);
}
+ // Returns the creation context of the Holder.
+ v8::Local<v8::Context> GetHolderCreationContext();
+
// Always check the return value whether the handle is empty before
// dereferencing the handle.
v8::Local<v8::Value> PeekNext() const;
« no previous file with comments | « gin/BUILD.gn ('k') | gin/arguments.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698