OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 //#include "Object.h" | 5 //#include "Object.h" |
6 | 6 |
7 {% for namespace in config.protocol.namespace %} | 7 {% for namespace in config.protocol.namespace %} |
8 namespace {{namespace}} { | 8 namespace {{namespace}} { |
9 {% endfor %} | 9 {% endfor %} |
10 | 10 |
(...skipping 17 matching lines...) Expand all Loading... |
28 return wrapUnique(new Object(DictionaryValue::cast(m_object->clone()))); | 28 return wrapUnique(new Object(DictionaryValue::cast(m_object->clone()))); |
29 } | 29 } |
30 | 30 |
31 Object::Object(std::unique_ptr<protocol::DictionaryValue> object) : m_object(std
::move(object)) { } | 31 Object::Object(std::unique_ptr<protocol::DictionaryValue> object) : m_object(std
::move(object)) { } |
32 | 32 |
33 Object::~Object() { } | 33 Object::~Object() { } |
34 | 34 |
35 {% for namespace in config.protocol.namespace %} | 35 {% for namespace in config.protocol.namespace %} |
36 } // namespace {{namespace}} | 36 } // namespace {{namespace}} |
37 {% endfor %} | 37 {% endfor %} |
OLD | NEW |