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 |