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

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 some 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..518b922b8c1eff533047694476dda9820ce2c231 100644
--- a/content/common/origin_trials/trial_token_validator.h
+++ b/content/common/origin_trials/trial_token_validator.h
@@ -8,6 +8,7 @@
#include <string>
#include "base/strings/string_piece.h"
#include "content/common/content_export.h"
+#include "content/common/origin_trials/trial_token_status.h"
#include "url/origin.h"
namespace content {
@@ -15,9 +16,9 @@ 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 TrialTokenStatus ValidateToken(const std::string& token,
+ const url::Origin& origin,
+ base::StringPiece feature_name);
} // namespace TrialTokenValidator

Powered by Google App Engine
This is Rietveld 408576698