Chromium Code Reviews| Index: third_party/WebKit/public/platform/WebTrialTokenValidator.h |
| diff --git a/third_party/WebKit/public/platform/WebTrialTokenValidator.h b/third_party/WebKit/public/platform/WebTrialTokenValidator.h |
| index b11cb215a68614b540b686f6f1d4ad2c12b58402..b3502442d455d3af877384d802a330da23524c51 100644 |
| --- a/third_party/WebKit/public/platform/WebTrialTokenValidator.h |
| +++ b/third_party/WebKit/public/platform/WebTrialTokenValidator.h |
| @@ -11,13 +11,14 @@ |
| namespace blink { |
| +enum class WebOriginTrialTokenStatus; |
| + |
| // This interface abstracts the task of validating a token for an experimental |
| // feature. Experimental features can be turned on and off at runtime for a |
| // specific renderer, depending on the presence of a valid token provided by |
| // the origin. |
| // |
| -// More documentation on the design of the experimental framework is at |
| -// https://docs.google.com/document/d/1qVP2CK1lbfmtIJRIm6nwuEFFhGhYbtThLQPo3CSTtmg |
| +// For more information, see https://github.com/jpchase/OriginTrials. |
| class WebTrialTokenValidator { |
| public: |
| @@ -25,7 +26,11 @@ public: |
| // Returns true if the given token is valid for the specified origin and |
| // feature name. |
| - virtual bool validateToken(const WebString& token, const WebSecurityOrigin&, const WebString& featureName) = 0; |
| + virtual WebOriginTrialTokenStatus validateToken( |
|
iclelland
2016/04/28 17:00:58
Do these need to be wrapped like this now? I've ne
chasej
2016/05/02 15:53:11
Victim of git cl format. Format seems to apply Chr
|
| + const WebString& token, |
| + const WebSecurityOrigin&, |
| + const WebString& featureName) |
| + = 0; |
| }; |
| } // namespace blink |