Index: third_party/WebKit/Source/platform/inspector_protocol/Parser_h.template |
diff --git a/third_party/WebKit/Source/platform/inspector_protocol/Parser_h.template b/third_party/WebKit/Source/platform/inspector_protocol/Parser_h.template |
index 1f3a1b65c06e40f859d6ef83705cf15f58b14995..c2d43e720e03647efe3d19ff24207bf65f08c7d5 100644 |
--- a/third_party/WebKit/Source/platform/inspector_protocol/Parser_h.template |
+++ b/third_party/WebKit/Source/platform/inspector_protocol/Parser_h.template |
@@ -2,21 +2,21 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef Parser_h |
-#define Parser_h |
+#ifndef {{"_".join(config.protocol.namespace)}}_Parser_h |
+#define {{"_".join(config.protocol.namespace)}}_Parser_h |
//#include "Platform.h" |
-//#include "String16.h" |
-#include "{{config.class_export.header}}" |
+//#include "String.h" |
+//#include "Values.h" |
-namespace blink { |
-namespace protocol { |
+{% for namespace in config.protocol.namespace %} |
+namespace {{namespace}} { |
+{% endfor %} |
-class Value; |
+{{config.class_export.macro}} std::unique_ptr<Value> parseJSON(const String& json); |
-{{config.class_export.macro}} std::unique_ptr<Value> parseJSON(const String16& json); |
+{% for namespace in config.protocol.namespace %} |
+} // namespace {{namespace}} |
+{% endfor %} |
-} // namespace platform |
-} // namespace blink |
- |
-#endif // !defined(Parser_h) |
+#endif // !defined({{"_".join(config.protocol.namespace)}}_Parser_h) |