Index: third_party/WebKit/Source/platform/inspector_protocol/Object_cpp.template |
diff --git a/third_party/WebKit/Source/platform/inspector_protocol/Object_cpp.template b/third_party/WebKit/Source/platform/inspector_protocol/Object_cpp.template |
index 4480d853ef0184201aed6d0c81d2b25c95bca7a9..e3f18c3500e2b29422ec6db9f5f332e0e24fb471 100644 |
--- a/third_party/WebKit/Source/platform/inspector_protocol/Object_cpp.template |
+++ b/third_party/WebKit/Source/platform/inspector_protocol/Object_cpp.template |
@@ -2,8 +2,11 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-namespace blink { |
-namespace protocol { |
+//#include "Object.h" |
+ |
+{% for namespace in config.protocol.namespace %} |
+namespace {{namespace}} { |
+{% endfor %} |
std::unique_ptr<Object> Object::parse(protocol::Value* value, ErrorSupport* errors) |
{ |
@@ -29,5 +32,6 @@ Object::Object(std::unique_ptr<protocol::DictionaryValue> object) : m_object(std |
Object::~Object() { } |
-} // namespace protocol |
-} // namespace blink |
+{% for namespace in config.protocol.namespace %} |
+} // namespace {{namespace}} |
+{% endfor %} |