Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(812)

Side by Side Diff: third_party/WebKit/Source/platform/inspector_protocol/TypeBuilder_h.template

Issue 1767883002: DevTools: generate string16-based handlers for v8_inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for landing 2 Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698