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

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

Issue 2238423002: [DevTools] Generate all files in inspector_protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2240663003
Patch Set: Created 4 years, 4 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 protocol_{{domain.domain}}_h 7 #ifndef protocol_{{domain.domain}}_h
8 #define protocol_{{domain.domain}}_h 8 #define protocol_{{domain.domain}}_h
9 9
10 {% if export_macro == "PLATFORM_EXPORT" %} 10 #include "{{export_macro_include}}"
11 #include "platform/inspector_protocol/Platform.h" 11 #include "{{lib_package}}/InspectorProtocol.h"
12 {% else %}
13 #include "core/CoreExport.h"
14 {% endif %}
15 #include "platform/inspector_protocol/Array.h"
16 #include "platform/inspector_protocol/BackendCallback.h"
17 #include "platform/inspector_protocol/DispatcherBase.h"
18 #include "platform/inspector_protocol/ErrorSupport.h"
19 #include "platform/inspector_protocol/FrontendChannel.h"
20 #include "platform/inspector_protocol/Maybe.h"
21 #include "platform/inspector_protocol/Object.h"
22 #include "platform/inspector_protocol/Platform.h"
23 #include "platform/inspector_protocol/String16.h"
24 #include "platform/inspector_protocol/Values.h"
25 #include "platform/inspector_protocol/ValueConversions.h"
26 // For each imported domain we generate a ValueConversions struct instead of a f ull domain definition 12 // For each imported domain we generate a ValueConversions struct instead of a f ull domain definition
27 // and include Domain::API version from there. 13 // and include Domain::API version from there.
28 {% for name in domain.dependencies %} 14 {% for name in domain.dependencies %}
29 #include "{{output_package}}/{{name}}.h" 15 #include "{{output_package}}/{{name}}.h"
30 {% endfor %} 16 {% endfor %}
31 {% if domain["has_exports"] %} 17 {% if domain["has_exports"] %}
32 #include "{{exported_package}}/{{domain.domain}}.h" 18 #include "{{exported_package}}/{{domain.domain}}.h"
33 {% endif %} 19 {% endif %}
34 20
35 namespace blink { 21 namespace blink {
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 using DispatcherClass = Dispatcher; 277 using DispatcherClass = Dispatcher;
292 static const char domainName[]; 278 static const char domainName[];
293 static const char commandPrefix[]; 279 static const char commandPrefix[];
294 }; 280 };
295 281
296 } // namespace {{domain.domain}} 282 } // namespace {{domain.domain}}
297 } // namespace protocol 283 } // namespace protocol
298 } // namespace blink 284 } // namespace blink
299 285
300 #endif // !defined(protocol_{{domain.domain}}_h) 286 #endif // !defined(protocol_{{domain.domain}}_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698