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

Unified Diff: content/public/common/content_client.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: Rebase; fix DLL export error in VS compile 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/public/common/content_client.h
diff --git a/content/public/common/content_client.h b/content/public/common/content_client.h
index 9d51d5ba83d4cf5a458f84137d963d39063c7c40..b4bef743bfb2043d3f5aa2786dd52e59d6dc2a0b 100644
--- a/content/public/common/content_client.h
+++ b/content/public/common/content_client.h
@@ -153,6 +153,10 @@ class CONTENT_EXPORT ContentClient {
// model decisions.
virtual bool IsSupplementarySiteIsolationModeEnabled();
+ // Returns the public key to be used for origin trials, or nullptr if origin
+ // trials are not enabled in this context.
+ virtual base::StringPiece GetOriginTrialPublicKey();
+
private:
friend class ContentClientInitializer; // To set these pointers.
friend class InternalTestInitializer;

Powered by Google App Engine
This is Rietveld 408576698