| OLD | NEW |
| 1 // This file is generated | 1 // This file is generated |
| 2 | 2 |
| 3 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 3 // Copyright (c) 2016 The Chromium Authors. All rights reserved. |
| 4 // Use of this source code is governed by a BSD-style license that can be | 4 // Use of this source code is governed by a BSD-style license that can be |
| 5 // found in the LICENSE file. | 5 // found in the LICENSE file. |
| 6 | 6 |
| 7 #ifndef {{class_name}}_h | 7 #ifndef {{class_name}}_h |
| 8 #define {{class_name}}_h | 8 #define {{class_name}}_h |
| 9 | 9 |
| 10 #include "platform/PlatformExport.h" | 10 #include "platform/PlatformExport.h" |
| 11 #include "platform/inspector_protocol/Array.h" | 11 #include "platform/inspector_protocol/Array.h" |
| 12 #include "platform/inspector_protocol/ErrorSupport.h" | 12 #include "platform/inspector_protocol/ErrorSupport.h" |
| 13 #include "platform/inspector_protocol/Maybe.h" | 13 #include "platform/inspector_protocol/Maybe.h" |
| 14 #include "platform/inspector_protocol/String16.h" |
| 14 #include "platform/inspector_protocol/Values.h" | 15 #include "platform/inspector_protocol/Values.h" |
| 15 #include "platform/inspector_protocol/ValueConversions.h" | 16 #include "platform/inspector_protocol/ValueConversions.h" |
| 16 #include "wtf/Assertions.h" | 17 #include "wtf/Assertions.h" |
| 17 #include "wtf/PassOwnPtr.h" | 18 #include "wtf/PassOwnPtr.h" |
| 18 #include "wtf/text/StringBuilder.h" | |
| 19 #include "wtf/text/WTFString.h" | |
| 20 | 19 |
| 21 namespace blink { | 20 namespace blink { |
| 22 namespace protocol { | 21 namespace protocol { |
| 23 | 22 |
| 23 using ErrorString = String16; |
| 24 |
| 24 class PLATFORM_EXPORT Object { | 25 class PLATFORM_EXPORT Object { |
| 25 public: | 26 public: |
| 26 static PassOwnPtr<Object> parse(protocol::Value* value, ErrorSupport* errors
); | 27 static PassOwnPtr<Object> parse(protocol::Value* value, ErrorSupport* errors
); |
| 27 ~Object(); | 28 ~Object(); |
| 28 | 29 |
| 29 PassOwnPtr<protocol::DictionaryValue> serialize() const; | 30 PassOwnPtr<protocol::DictionaryValue> serialize() const; |
| 30 PassOwnPtr<Object> clone() const; | 31 PassOwnPtr<Object> clone() const; |
| 31 private: | 32 private: |
| 32 Object(PassOwnPtr<protocol::DictionaryValue> object); | 33 Object(PassOwnPtr<protocol::DictionaryValue> object); |
| 33 OwnPtr<protocol::DictionaryValue> m_object; | 34 OwnPtr<protocol::DictionaryValue> m_object; |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 }; | 199 }; |
| 199 | 200 |
| 200 {% endfor %} | 201 {% endfor %} |
| 201 | 202 |
| 202 } // {{domain.domain}} | 203 } // {{domain.domain}} |
| 203 {% endfor %} | 204 {% endfor %} |
| 204 | 205 |
| 205 } // namespace protocol | 206 } // namespace protocol |
| 206 } // namespace blink | 207 } // namespace blink |
| 207 | 208 |
| 209 using blink::protocol::ErrorString; |
| 210 |
| 208 #endif // !defined({{class_name}}_h) | 211 #endif // !defined({{class_name}}_h) |
| OLD | NEW |