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

Unified Diff: chrome/app/chrome_main_delegate.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/app/chrome_main_delegate.cc
diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc
index 75286cc2d3c9065831aba8ffd88b5308d383bd6a..6de50acbc31856a98b7a3cce6bdf5b6b2a5be02a 100644
--- a/chrome/app/chrome_main_delegate.cc
+++ b/chrome/app/chrome_main_delegate.cc
@@ -636,6 +636,11 @@ bool ChromeMainDelegate::BasicStartupComplete(int* exit_code) {
->SetPublicKeyFromASCIIString(
command_line.GetSwitchValueASCII(switches::kOriginTrialPublicKey));
}
+ if (command_line.HasSwitch(switches::kOriginTrialDisabledFeatures)) {
+ chrome_content_client_.origin_trial_key_manager()->SetDisabledFeatures(
+ command_line.GetSwitchValueASCII(
+ switches::kOriginTrialDisabledFeatures));
+ }
content::SetContentClient(&chrome_content_client_);

Powered by Google App Engine
This is Rietveld 408576698