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

Unified Diff: third_party/WebKit/Source/platform/bindings/V8PerContextData.h

Issue 2851563004: Add documentation for platform/bindings (Closed)
Patch Set: Address code review Created 3 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: third_party/WebKit/Source/platform/bindings/V8PerContextData.h
diff --git a/third_party/WebKit/Source/platform/bindings/V8PerContextData.h b/third_party/WebKit/Source/platform/bindings/V8PerContextData.h
index b3bf2a737dc63c24d25e4d02826294997edc23d0..e6f2981a90250b884086e722932cf0ec0b90a533 100644
--- a/third_party/WebKit/Source/platform/bindings/V8PerContextData.h
+++ b/third_party/WebKit/Source/platform/bindings/V8PerContextData.h
@@ -58,6 +58,8 @@ enum V8ContextEmbedderDataField {
gin::kEmbedderBlink), // NOLINT(readability/enum_casing)
};
+// Used to hold data that is associated with a single v8::Context object, and
+// has a 1:1 relationship with v8::Context.
class PLATFORM_EXPORT V8PerContextData final {
USING_FAST_MALLOC(V8PerContextData);
WTF_MAKE_NONCOPYABLE(V8PerContextData);

Powered by Google App Engine
This is Rietveld 408576698