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

Unified Diff: content/public/renderer/content_renderer_client.h

Issue 1741783002: Add disabled origin trial feature list (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ef-finch
Patch Set: Rebase; style fixes 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/renderer/content_renderer_client.h
diff --git a/content/public/renderer/content_renderer_client.h b/content/public/renderer/content_renderer_client.h
index 52b397f0142f020a610cb85065b94825ffcf8afe..fab297bc4a570aca934c52f208c2bd216896a182 100644
--- a/content/public/renderer/content_renderer_client.h
+++ b/content/public/renderer/content_renderer_client.h
@@ -331,6 +331,10 @@ class CONTENT_EXPORT ContentRendererClient {
// 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();
+
+ // Returns the public key to be used for origin trials, or an empty string if
+ // origin trials are not enabled in this context.
chasej 2016/02/29 19:23:26 Comment needs to be updated (from copy/paste I pre
iclelland 2016/05/24 19:38:43 Done.
+ virtual bool IsOriginTrialFeatureDisabled(const std::string& feature);
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698