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

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

Issue 2248783003: [DevTools] Refactor CodeGenerator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: up_to_date fix 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/String16_h.template
diff --git a/third_party/WebKit/Source/platform/inspector_protocol/String16_h.template b/third_party/WebKit/Source/platform/inspector_protocol/String16_h.template
index 005f3494315d7cb2bea362f82522acbd3f31f96b..e6f8f0c78465ae686ac3e2bf089f633eb56862ee 100644
--- a/third_party/WebKit/Source/platform/inspector_protocol/String16_h.template
+++ b/third_party/WebKit/Source/platform/inspector_protocol/String16_h.template
@@ -7,7 +7,7 @@
//#include "Collections.h"
//#include "Platform.h"
-#include "{{export_macro_include}}"
+#include "{{config.class_export.header}}"
#include <vector>
@@ -15,16 +15,16 @@ namespace blink {
namespace protocol {
namespace internal {
-{{export_macro}} void intToStr(int, char*, size_t);
-{{export_macro}} void doubleToStr(double, char*, size_t);
-{{export_macro}} void doubleToStr3(double, char*, size_t);
-{{export_macro}} void doubleToStr6(double, char*, size_t);
-{{export_macro}} double strToDouble(const char*, bool*);
-{{export_macro}} int strToInt(const char*, bool*);
+{{config.class_export.macro}} void intToStr(int, char*, size_t);
+{{config.class_export.macro}} void doubleToStr(double, char*, size_t);
+{{config.class_export.macro}} void doubleToStr3(double, char*, size_t);
+{{config.class_export.macro}} void doubleToStr6(double, char*, size_t);
+{{config.class_export.macro}} double strToDouble(const char*, bool*);
+{{config.class_export.macro}} int strToInt(const char*, bool*);
} // namespace internal
template <typename T, typename C>
-class {{export_macro}} String16Base {
+class {{config.class_export.macro}} String16Base {
public:
static bool isASCII(C c)
{
@@ -152,12 +152,12 @@ public:
} // namespace protocol
} // namespace blink
-#include "{{string16_impl_h_include}}"
+#include "{{config.lib.string16_header}}"
namespace blink {
namespace protocol {
-class {{export_macro}} String16Builder {
+class {{config.class_export.macro}} String16Builder {
public:
String16Builder();
void append(const String16&);

Powered by Google App Engine
This is Rietveld 408576698