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

Unified Diff: gin/dictionary.h

Issue 101583004: [gin] Turn gin into a component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win Created 7 years 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: gin/dictionary.h
diff --git a/gin/dictionary.h b/gin/dictionary.h
index bc55087d8413fc14d72c53a3fafee667dbd5b1cb..972108fbb438f72608f4f9a52d4fd7e6d6e2f218 100644
--- a/gin/dictionary.h
+++ b/gin/dictionary.h
@@ -6,6 +6,7 @@
#define GIN_DICTIONARY_H_
#include "gin/converter.h"
+#include "gin/gin_export.h"
namespace gin {
@@ -21,7 +22,7 @@ namespace gin {
// v8::HandleScope. Generally speaking, you should store a Dictionary
// on the stack.
//
-class Dictionary {
+class GIN_EXPORT Dictionary {
public:
explicit Dictionary(v8::Isolate* isolate);
Dictionary(v8::Isolate* isolate, v8::Handle<v8::Object> object);
@@ -51,7 +52,7 @@ class Dictionary {
};
template<>
-struct Converter<Dictionary> {
+struct GIN_EXPORT Converter<Dictionary> {
static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate,
Dictionary val);
static bool FromV8(v8::Isolate* isolate,
« gin/array_buffer.h ('K') | « gin/converter.h ('k') | gin/function_template.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698