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

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

Issue 2296043004: [DevTools] Various tweaks to inspector_protocol. (Closed)
Patch Set: optional exports Created 4 years, 3 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 // 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 #ifndef {{"_".join(config.protocol.namespace)}}_Forward_h 5 #ifndef {{"_".join(config.protocol.namespace)}}_Forward_h
6 #define {{"_".join(config.protocol.namespace)}}_Forward_h 6 #define {{"_".join(config.protocol.namespace)}}_Forward_h
7 7
8 #include "{{config.class_export.header}}" 8 {% if config.lib.export_header %}
9 #include "{{config.lib.platform_header}}" 9 #include {{format_include(config.lib.export_header)}}
10 #include "{{config.lib.string_header}}" 10 {% endif %}
11 #include {{format_include(config.lib.platform_header)}}
12 #include {{format_include(config.lib.string_header)}}
11 13
12 #include <vector> 14 #include <vector>
13 15
14 {% for namespace in config.protocol.namespace %} 16 {% for namespace in config.protocol.namespace %}
15 namespace {{namespace}} { 17 namespace {{namespace}} {
16 {% endfor %} 18 {% endfor %}
17 19
18 template<typename T> class Array; 20 template<typename T> class Array;
19 class DictionaryValue; 21 class DictionaryValue;
20 using ErrorString = String; 22 using ErrorString = String;
21 class ErrorSupport; 23 class ErrorSupport;
22 class FundamentalValue; 24 class FundamentalValue;
23 class ListValue; 25 class ListValue;
24 template<typename T> class Maybe; 26 template<typename T> class Maybe;
25 class Object; 27 class Object;
26 class SerializedValue; 28 class SerializedValue;
27 class StringValue; 29 class StringValue;
28 class UberDispatcher; 30 class UberDispatcher;
29 class Value; 31 class Value;
30 32
31 {% for namespace in config.protocol.namespace %} 33 {% for namespace in config.protocol.namespace %}
32 } // namespace {{namespace}} 34 } // namespace {{namespace}}
33 {% endfor %} 35 {% endfor %}
34 36
35 #endif // !defined({{"_".join(config.protocol.namespace)}}_Forward_h) 37 #endif // !defined({{"_".join(config.protocol.namespace)}}_Forward_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698