Index: third_party/WebKit/Source/core/origin_trials/OriginTrialContext.h |
diff --git a/third_party/WebKit/Source/core/origin_trials/OriginTrialContext.h b/third_party/WebKit/Source/core/origin_trials/OriginTrialContext.h |
index 51f5bf3ead1ee0bbdf0c14be0545592cfcd1e15f..9efd759e56becca733d9c870154973f252e883f7 100644 |
--- a/third_party/WebKit/Source/core/origin_trials/OriginTrialContext.h |
+++ b/third_party/WebKit/Source/core/origin_trials/OriginTrialContext.h |
@@ -82,11 +82,14 @@ class CORE_EXPORT OriginTrialContext final |
DECLARE_VIRTUAL_TRACE(); |
private: |
- void validateToken(const String& token); |
+ // Validate the trial token, and return true if valid. If valid, the trial |
+ // named in the token is also added to the list of enabled trials. |
+ bool validateToken(const String& token); |
Member<ExecutionContext> m_host; |
Vector<String> m_tokens; |
HashSet<String> m_enabledTrials; |
+ HashSet<String> m_installedTrials; |
WebTrialTokenValidator* m_trialTokenValidator; |
}; |