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

Side by Side Diff: lib/Forward_h.template

Issue 2468923002: [inspector_protocol] support fall through and moveable Maybe (Closed)
Patch Set: added missing std::move Created 4 years, 1 month 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
« no previous file with comments | « lib/DispatcherBase_h.template ('k') | lib/Maybe_h.template » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {% if config.lib.export_header %} 8 {% if config.lib.export_header %}
9 #include {{format_include(config.lib.export_header)}} 9 #include {{format_include(config.lib.export_header)}}
10 {% endif %} 10 {% endif %}
11 #include {{format_include(config.lib.platform_header)}} 11 #include {{format_include(config.lib.platform_header)}}
12 #include {{format_include(config.lib.string_header)}} 12 #include {{format_include(config.lib.string_header)}}
13 13
14 #include <vector> 14 #include <vector>
15 15
16 {% for namespace in config.protocol.namespace %} 16 {% for namespace in config.protocol.namespace %}
17 namespace {{namespace}} { 17 namespace {{namespace}} {
18 {% endfor %} 18 {% endfor %}
19 19
20 template<typename T> class Array; 20 template<typename T> class Array;
21 class DictionaryValue; 21 class DictionaryValue;
22 class DispatchResponse;
22 using ErrorString = String; 23 using ErrorString = String;
23 class ErrorSupport; 24 class ErrorSupport;
24 class FundamentalValue; 25 class FundamentalValue;
25 class ListValue; 26 class ListValue;
26 template<typename T> class Maybe; 27 template<typename T> class Maybe;
27 class Object; 28 class Object;
29 using Response = DispatchResponse;
28 class SerializedValue; 30 class SerializedValue;
29 class StringValue; 31 class StringValue;
30 class UberDispatcher; 32 class UberDispatcher;
31 class Value; 33 class Value;
32 34
33 {% for namespace in config.protocol.namespace %} 35 {% for namespace in config.protocol.namespace %}
34 } // namespace {{namespace}} 36 } // namespace {{namespace}}
35 {% endfor %} 37 {% endfor %}
36 38
37 #endif // !defined({{"_".join(config.protocol.namespace)}}_Forward_h) 39 #endif // !defined({{"_".join(config.protocol.namespace)}}_Forward_h)
OLDNEW
« no previous file with comments | « lib/DispatcherBase_h.template ('k') | lib/Maybe_h.template » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698