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

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

Issue 1653263005: [Experimental Framework] Move the trial token public key out of content and into the embedder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move /common/ code to /renderer/ Created 4 years, 10 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/trial_token.h
diff --git a/content/renderer/origin_trials/trial_token.h b/content/renderer/origin_trials/trial_token.h
index 02de9be93ae00b83d280e5672b1bac56c4e3b32c..7d7270bd03d25f5fbaf88e0f7f9db9ece4741b89 100644
--- a/content/renderer/origin_trials/trial_token.h
+++ b/content/renderer/origin_trials/trial_token.h
@@ -44,7 +44,8 @@ class CONTENT_EXPORT TrialToken {
const std::string& featureName) const;
// Returns true if this token has a valid signature, and has not expired.
- bool IsValid(const base::Time& now) const;
+ bool IsValid(const base::Time& now,
+ const base::StringPiece& public_key) const;
std::string signature() { return signature_; }
std::string data() { return data_; }

Powered by Google App Engine
This is Rietveld 408576698