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

Unified Diff: content/common/origin_trials/trial_token_validator.h

Issue 1909633003: Collect UMA data for Origin Trials (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments 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/common/origin_trials/trial_token_validator.h
diff --git a/content/common/origin_trials/trial_token_validator.h b/content/common/origin_trials/trial_token_validator.h
index a8406350d71c484b6be12dc2659aa7a21d7e913b..07f99c745ff7db1c8464472f3eec039278e4f19d 100644
--- a/content/common/origin_trials/trial_token_validator.h
+++ b/content/common/origin_trials/trial_token_validator.h
@@ -10,14 +10,19 @@
#include "content/common/content_export.h"
#include "url/origin.h"
+namespace blink {
+enum class WebOriginTrialTokenStatus;
+}
+
namespace content {
namespace TrialTokenValidator {
// This method is thread-safe.
-CONTENT_EXPORT bool ValidateToken(const std::string& token,
- const url::Origin& origin,
- base::StringPiece feature_name);
+CONTENT_EXPORT blink::WebOriginTrialTokenStatus ValidateToken(
+ const std::string& token,
+ const url::Origin& origin,
+ base::StringPiece feature_name);
} // namespace TrialTokenValidator

Powered by Google App Engine
This is Rietveld 408576698