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

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

Issue 1879993002: Move StringHash.h include to OriginTrialContext.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix include 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 | third_party/WebKit/Source/core/origin_trials/OriginTrialContext.h » ('j') | 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"
9 #include "wtf/text/WTFString.h" 8 #include "wtf/text/WTFString.h"
10 9
11 namespace blink { 10 namespace blink {
12 11
13 class ExecutionContext; 12 class ExecutionContext;
14 13
15 // A namespace with dynamic tests for experimental features which can be enabled through the 14 // A namespace with dynamic tests for experimental features which can be enabled through the
16 // experimental framework via origin trial tokens. 15 // experimental framework via origin trial tokens.
17 namespace OriginTrials { 16 namespace OriginTrials {
18 {% for feature in features %} 17 {% for feature in features %}
19 {% if feature.origin_trial_feature_name %} 18 {% if feature.origin_trial_feature_name %}
20 CORE_EXPORT bool {{feature.first_lowered_name}}Enabled(ExecutionContext*, St ring& errorMessage); 19 CORE_EXPORT bool {{feature.first_lowered_name}}Enabled(ExecutionContext*, St ring& errorMessage);
21 CORE_EXPORT bool {{feature.first_lowered_name}}Enabled(ExecutionContext*); 20 CORE_EXPORT bool {{feature.first_lowered_name}}Enabled(ExecutionContext*);
22 {% endif %} 21 {% endif %}
23 {% endfor %} 22 {% endfor %}
24 } // namespace OriginTrials 23 } // namespace OriginTrials
25 24
26 } // namespace blink 25 } // namespace blink
27 26
28 #endif // OriginTrials_h 27 #endif // OriginTrials_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/origin_trials/OriginTrialContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698