Index: third_party/WebKit/Source/platform/inspector_protocol/FrontendChannel_h.template |
diff --git a/third_party/WebKit/Source/platform/inspector_protocol/FrontendChannel_h.template b/third_party/WebKit/Source/platform/inspector_protocol/FrontendChannel_h.template |
index ead1491ed2826246a6f58bc7f54b2fa0ee5a10e0..64701e65f4b224a52a3e63572260458de2589f50 100644 |
--- a/third_party/WebKit/Source/platform/inspector_protocol/FrontendChannel_h.template |
+++ b/third_party/WebKit/Source/platform/inspector_protocol/FrontendChannel_h.template |
@@ -2,24 +2,23 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef FrontendChannel_h |
-#define FrontendChannel_h |
+#ifndef {{"_".join(config.protocol.namespace)}}_FrontendChannel_h |
+#define {{"_".join(config.protocol.namespace)}}_FrontendChannel_h |
-//#include "String16.h" |
-#include "{{config.class_export.header}}" |
- |
-namespace blink { |
-namespace protocol { |
+{% for namespace in config.protocol.namespace %} |
+namespace {{namespace}} { |
+{% endfor %} |
class {{config.class_export.macro}} FrontendChannel { |
public: |
virtual ~FrontendChannel() { } |
- virtual void sendProtocolResponse(int callId, const String16& message) = 0; |
- virtual void sendProtocolNotification(const String16& message) = 0; |
+ virtual void sendProtocolResponse(int callId, const String& message) = 0; |
+ virtual void sendProtocolNotification(const String& message) = 0; |
virtual void flushProtocolNotifications() = 0; |
}; |
-} // namespace protocol |
-} // namespace blink |
+{% for namespace in config.protocol.namespace %} |
+} // namespace {{namespace}} |
+{% endfor %} |
-#endif // !defined(FrontendChannel_h) |
+#endif // !defined({{"_".join(config.protocol.namespace)}}_FrontendChannel_h) |