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

Unified Diff: content/renderer/origin_trials/web_trial_token_validator_impl.h

Issue 1909633003: Collect UMA data for Origin Trials (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/origin_trials/web_trial_token_validator_impl.h
diff --git a/content/renderer/origin_trials/web_trial_token_validator_impl.h b/content/renderer/origin_trials/web_trial_token_validator_impl.h
index 7cb118774295496eeb36a4ee92d8fc3305990bd6..e0d6234955025becf2444206487036e771eb8754 100644
--- a/content/renderer/origin_trials/web_trial_token_validator_impl.h
+++ b/content/renderer/origin_trials/web_trial_token_validator_impl.h
@@ -13,8 +13,8 @@
namespace content {
-// The TrialTokenValidator is called by the Experimental Framework code in Blink
-// to validate tokens to enable experimental features.
+// The TrialTokenValidator is called by the Origin Trials Framework code in
+// Blink to validate tokens to enable experimental features.
//
// This class is thread-safe.
class CONTENT_EXPORT WebTrialTokenValidatorImpl
@@ -24,9 +24,10 @@ class CONTENT_EXPORT WebTrialTokenValidatorImpl
~WebTrialTokenValidatorImpl() override;
// blink::WebTrialTokenValidator implementation
- bool validateToken(const blink::WebString& token,
- const blink::WebSecurityOrigin& origin,
- const blink::WebString& featureName) override;
+ blink::WebOriginTrialTokenStatus validateToken(
+ const blink::WebString& token,
+ const blink::WebSecurityOrigin& origin,
+ const blink::WebString& featureName) override;
private:
DISALLOW_COPY_AND_ASSIGN(WebTrialTokenValidatorImpl);

Powered by Google App Engine
This is Rietveld 408576698