summaryrefslogtreecommitdiffstats
path: root/gin/dictionary.h
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-12 21:32:34 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-12 21:32:34 +0000
commit48c21631008649ad2575b16fe33b336858dcdde9 (patch)
treef6fd9761eb0001c806962937583ea15eafd7ed7b /gin/dictionary.h
parentedc3af84cd907175e0dd24bfc377d20c06fd7d0e (diff)
downloadchromium_src-48c21631008649ad2575b16fe33b336858dcdde9.zip
chromium_src-48c21631008649ad2575b16fe33b336858dcdde9.tar.gz
chromium_src-48c21631008649ad2575b16fe33b336858dcdde9.tar.bz2
[gin] Turn gin into a component
This will allow for using gin from content and blink at the same time in a component build BUG=321631 R=abarth@chromium.org,aa@chromium.org Review URL: https://codereview.chromium.org/101583004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240425 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gin/dictionary.h')
-rw-r--r--gin/dictionary.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gin/dictionary.h b/gin/dictionary.h
index bc55087..972108f 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,