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

Unified Diff: Source/platform/JSONValues.h

Issue 25447002: Move JSONValues.cpp/.h to Source/platform/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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 | « Source/core/platform/JSONValues.cpp ('k') | Source/platform/JSONValues.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/JSONValues.h
diff --git a/Source/core/platform/JSONValues.h b/Source/platform/JSONValues.h
similarity index 96%
rename from Source/core/platform/JSONValues.h
rename to Source/platform/JSONValues.h
index f1f3bf7ac4f33933faffa064a91e0312ad14e13d..0ee8d7dbbcb317d14b87c84c3def6f4cd9d3bf02 100644
--- a/Source/core/platform/JSONValues.h
+++ b/Source/platform/JSONValues.h
@@ -31,6 +31,7 @@
#ifndef JSONValues_h
#define JSONValues_h
+#include "platform/PlatformExport.h"
#include "wtf/Forward.h"
#include "wtf/HashMap.h"
#include "wtf/RefCounted.h"
@@ -43,7 +44,7 @@ namespace WebCore {
class JSONArray;
class JSONObject;
-class JSONValue : public RefCounted<JSONValue> {
+class PLATFORM_EXPORT JSONValue : public RefCounted<JSONValue> {
public:
static const int maxDepth = 1000;
@@ -91,7 +92,7 @@ private:
Type m_type;
};
-class JSONBasicValue : public JSONValue {
+class PLATFORM_EXPORT JSONBasicValue : public JSONValue {
public:
static PassRefPtr<JSONBasicValue> create(bool value)
@@ -129,7 +130,7 @@ private:
};
};
-class JSONString : public JSONValue {
+class PLATFORM_EXPORT JSONString : public JSONValue {
public:
static PassRefPtr<JSONString> create(const String& value)
{
@@ -152,7 +153,7 @@ private:
String m_stringValue;
};
-class JSONObjectBase : public JSONValue {
+class PLATFORM_EXPORT JSONObjectBase : public JSONValue {
private:
typedef HashMap<String, RefPtr<JSONValue> > Dictionary;
@@ -209,7 +210,7 @@ private:
Vector<String> m_order;
};
-class JSONObject : public JSONObjectBase {
+class PLATFORM_EXPORT JSONObject : public JSONObjectBase {
public:
static PassRefPtr<JSONObject> create()
{
@@ -242,7 +243,7 @@ public:
};
-class JSONArrayBase : public JSONValue {
+class PLATFORM_EXPORT JSONArrayBase : public JSONValue {
public:
typedef Vector<RefPtr<JSONValue> >::iterator iterator;
typedef Vector<RefPtr<JSONValue> >::const_iterator const_iterator;
@@ -280,7 +281,7 @@ private:
Vector<RefPtr<JSONValue> > m_data;
};
-class JSONArray : public JSONArrayBase {
+class PLATFORM_EXPORT JSONArray : public JSONArrayBase {
public:
static PassRefPtr<JSONArray> create()
{
« no previous file with comments | « Source/core/platform/JSONValues.cpp ('k') | Source/platform/JSONValues.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698