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

Unified Diff: chrome/common/chrome_content_client.cc

Issue 1741783002: Add disabled origin trial feature list (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ef-finch
Patch Set: Rebase; fix after crrev.com/cb60e703 landed Created 4 years, 7 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: chrome/common/chrome_content_client.cc
diff --git a/chrome/common/chrome_content_client.cc b/chrome/common/chrome_content_client.cc
index 571d73729fbadfa4ca26481182d17fb1d53e655b..929ca5d3ddadbbac594441e19297fd4da7adc686 100644
--- a/chrome/common/chrome_content_client.cc
+++ b/chrome/common/chrome_content_client.cc
@@ -702,6 +702,11 @@ base::StringPiece ChromeContentClient::GetOriginTrialPublicKey() {
return origin_trial_key_manager_.GetPublicKey();
}
+bool ChromeContentClient::IsOriginTrialFeatureDisabled(
+ base::StringPiece feature) {
+ return origin_trial_key_manager_.IsFeatureDisabled(feature);
+}
+
#if defined(OS_ANDROID)
media::MediaClientAndroid* ChromeContentClient::GetMediaClientAndroid() {
return new ChromeMediaClientAndroid();

Powered by Google App Engine
This is Rietveld 408576698