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

Unified Diff: third_party/WebKit/Source/platform/inspector_protocol/Values_h.template

Issue 2238423002: [DevTools] Generate all files in inspector_protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2240663003
Patch Set: Created 4 years, 4 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/inspector_protocol/Values_h.template
diff --git a/third_party/WebKit/Source/platform/inspector_protocol/Values.h b/third_party/WebKit/Source/platform/inspector_protocol/Values_h.template
similarity index 93%
rename from third_party/WebKit/Source/platform/inspector_protocol/Values.h
rename to third_party/WebKit/Source/platform/inspector_protocol/Values_h.template
index 48a2012758a16b7b51297496c9d7ee482e3a4ebb..840d1198e4ddbeb4f395a1e6f8050a98f1dc0565 100644
--- a/third_party/WebKit/Source/platform/inspector_protocol/Values.h
+++ b/third_party/WebKit/Source/platform/inspector_protocol/Values_h.template
@@ -5,10 +5,11 @@
#ifndef Values_h
#define Values_h
-#include "platform/inspector_protocol/Allocator.h"
-#include "platform/inspector_protocol/Collections.h"
-#include "platform/inspector_protocol/Platform.h"
-#include "platform/inspector_protocol/String16.h"
+//#include "Allocator.h"
+//#include "Collections.h"
+//#include "Platform.h"
+//#include "String16.h"
+#include "{{export_macro_include}}"
#include <vector>
@@ -19,7 +20,7 @@ class ListValue;
class DictionaryValue;
class Value;
-class PLATFORM_EXPORT Value {
+class {{export_macro}} Value {
PROTOCOL_DISALLOW_COPY(Value);
public:
static const int maxDepth = 1000;
@@ -67,7 +68,7 @@ private:
ValueType m_type;
};
-class PLATFORM_EXPORT FundamentalValue : public Value {
+class {{export_macro}} FundamentalValue : public Value {
public:
static std::unique_ptr<FundamentalValue> create(bool value)
{
@@ -102,7 +103,7 @@ private:
};
};
-class PLATFORM_EXPORT StringValue : public Value {
+class {{export_macro}} StringValue : public Value {
public:
static std::unique_ptr<StringValue> create(const String16& value)
{
@@ -125,7 +126,7 @@ private:
String16 m_stringValue;
};
-class PLATFORM_EXPORT SerializedValue : public Value {
+class {{export_macro}} SerializedValue : public Value {
public:
static std::unique_ptr<SerializedValue> create(const String16& value)
{
@@ -143,7 +144,7 @@ private:
String16 m_serializedValue;
};
-class PLATFORM_EXPORT DictionaryValue : public Value {
+class {{export_macro}} DictionaryValue : public Value {
public:
using Entry = std::pair<String16, Value*>;
static std::unique_ptr<DictionaryValue> create()
@@ -210,7 +211,7 @@ private:
std::vector<String16> m_order;
};
-class PLATFORM_EXPORT ListValue : public Value {
+class {{export_macro}} ListValue : public Value {
public:
static std::unique_ptr<ListValue> create()
{

Powered by Google App Engine
This is Rietveld 408576698