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

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

Issue 1863323004: Windows component build fix: OriginTraials.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 {% from 'macros.tmpl' import license %} 1 {% from 'macros.tmpl' import license %}
2 {{license()}} 2 {{license()}}
3 3
4 #ifndef OriginTrials_h 4 #ifndef OriginTrials_h
5 #define OriginTrials_h 5 #define OriginTrials_h
6 6
7 #include "core/CoreExport.h" 7 #include "core/CoreExport.h"
8 #include "wtf/text/StringHash.h"
iclelland 2016/04/08 14:07:56 I don't know why this error is just showing up now
shinyak 2016/04/12 04:54:23 Ah, sorry for late response. I'd like to fix this
8 #include "wtf/text/WTFString.h" 9 #include "wtf/text/WTFString.h"
9 10
10 namespace blink { 11 namespace blink {
11 12
12 class ExecutionContext; 13 class ExecutionContext;
13 14
14 // A namespace with dynamic tests for experimental features which can be enabled through the 15 // A namespace with dynamic tests for experimental features which can be enabled through the
15 // experimental framework via origin trial tokens. 16 // experimental framework via origin trial tokens.
16 namespace OriginTrials { 17 namespace OriginTrials {
17 {% for feature in features %} 18 {% for feature in features %}
18 {% if feature.origin_trial_feature_name %} 19 {% if feature.origin_trial_feature_name %}
19 CORE_EXPORT bool {{feature.first_lowered_name}}Enabled(ExecutionContext*, St ring& errorMessage); 20 CORE_EXPORT bool {{feature.first_lowered_name}}Enabled(ExecutionContext*, St ring& errorMessage);
20 CORE_EXPORT bool {{feature.first_lowered_name}}Enabled(ExecutionContext*); 21 CORE_EXPORT bool {{feature.first_lowered_name}}Enabled(ExecutionContext*);
21 {% endif %} 22 {% endif %}
22 {% endfor %} 23 {% endfor %}
23 } // namespace OriginTrials 24 } // namespace OriginTrials
24 25
25 } // namespace blink 26 } // namespace blink
26 27
27 #endif // OriginTrials_h 28 #endif // OriginTrials_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698