| 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 9b7860c4ea5877e309d32c42fed988aa936c8506..8666cbedd3f3b9d5776e40e7ae3c9594d6245a1a 100644
|
| --- a/third_party/WebKit/public/platform/WebTrialTokenValidator.h
|
| +++ b/third_party/WebKit/public/platform/WebTrialTokenValidator.h
|
| @@ -24,9 +24,10 @@ class WebTrialTokenValidator {
|
| public:
|
| virtual ~WebTrialTokenValidator() {}
|
|
|
| - // Returns true if the given token is valid for the specified origin and
|
| - // feature name.
|
| - virtual WebOriginTrialTokenStatus validateToken(const WebString& token, const WebSecurityOrigin&, const WebString& featureName) = 0;
|
| + // Returns whether the given token is valid for the specified origin. If the
|
| + // token is valid, it also returns the feature the token is valid for in
|
| + // |*featureName|.
|
| + virtual WebOriginTrialTokenStatus validateToken(const WebString& token, const WebSecurityOrigin&, WebString* featureName) = 0;
|
| };
|
|
|
| } // namespace blink
|
|
|