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

Unified Diff: gin/context_holder.h

Issue 60613003: Add a dependency from Gin to base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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/array_buffer.cc ('k') | gin/context_holder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gin/context_holder.h
diff --git a/gin/context_holder.h b/gin/context_holder.h
index c9068d1810fcef4348346b59ddb5500e592387de..b11e1d17c26361346c2d45504270eac82afeaf3a 100644
--- a/gin/context_holder.h
+++ b/gin/context_holder.h
@@ -7,10 +7,13 @@
#include <list>
#include "base/basictypes.h"
+#include "base/memory/scoped_ptr.h"
#include "v8/include/v8.h"
namespace gin {
+class PerContextData;
+
class ContextHolder {
public:
explicit ContextHolder(v8::Isolate* isolate);
@@ -27,6 +30,7 @@ class ContextHolder {
private:
v8::Isolate* isolate_;
v8::Persistent<v8::Context> context_;
+ scoped_ptr<PerContextData> data_;
DISALLOW_COPY_AND_ASSIGN(ContextHolder);
};
« no previous file with comments | « gin/array_buffer.cc ('k') | gin/context_holder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698