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

Unified Diff: content/public/common/content_client.h

Issue 2047683002: Store Origin Trials public key in browser prefs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 f0862d5b40ac4d16b6bc2b3aa3d8b60f499455d2..5510cb27f9145e769ea02cf7df17502e72cafe1a 100644
--- a/content/public/common/content_client.h
+++ b/content/public/common/content_client.h
@@ -168,6 +168,11 @@ class CONTENT_EXPORT ContentClient {
// model decisions.
virtual bool IsSupplementarySiteIsolationModeEnabled();
+ // Called by the renderer after the render thread has started, and allows the
+ // embedder to set up any global origin trial policies (custom public key, or
+ // disabled experiments)
+ virtual void InitializeOriginTrialPolicy();
+
// Returns the public key to be used for origin trials, or an empty string if
// origin trials are not enabled in this context.
virtual base::StringPiece GetOriginTrialPublicKey();

Powered by Google App Engine
This is Rietveld 408576698