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

Side by Side Diff: third_party/WebKit/Source/build/scripts/templates/InstrumentingProbesInl.h.tmpl

Issue 2797253005: Revert of [instrumentation] Turn inspector override "probes" return values into output parameters. (Closed)
Patch Set: Created 3 years, 8 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 from {{input_file}} 1 // This file is generated from {{input_file}}
2 2
3 // Copyright 2017 The Chromium Authors. All rights reserved. 3 // Copyright 2017 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 {{file.header_name}}_h 7 #ifndef {{file.header_name}}_h
8 #define {{file.header_name}}_h 8 #define {{file.header_name}}_h
9 9
10 #include "platform/heap/HeapAllocator.h" 10 #include "platform/heap/HeapAllocator.h"
(...skipping 28 matching lines...) Expand all
39 STACK_ALLOCATED() 39 STACK_ALLOCATED()
40 public: 40 public:
41 explicit {{probe.name}}({{ params_decl(probe) }}); 41 explicit {{probe.name}}({{ params_decl(probe) }});
42 ~{{probe.name}}(); 42 ~{{probe.name}}();
43 {% for param in probe.params %} 43 {% for param in probe.params %}
44 {{param.member_type}} {{param.name}}; 44 {{param.member_type}} {{param.name}};
45 {% endfor %} 45 {% endfor %}
46 }; 46 };
47 {%- else %} 47 {%- else %}
48 48
49 {{export_symbol}} void {{probe.name}}({{ params_decl(probe) }}); 49 {{export_symbol}} {{probe.return_type}} {{probe.name}}({{ params_decl(probe) }}) ;
50 50
51 {%- endif %} 51 {%- endif %}
52 {%- endfor %} 52 {%- endfor %}
53 53
54 54
55 } // namespace probe 55 } // namespace probe
56 } // namespace blink 56 } // namespace blink
57 57
58 #endif // !defined({{file.header_name}}_h) 58 #endif // !defined({{file.header_name}}_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698