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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 2131233002: Put STHSet component behind a base::Feature. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « no previous file | chrome/common/chrome_features.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index 54df3f5641ce39e4442445d9eab7d90651824854..d4c9ab27245a5f0d51410cba61bf12c897b8d2a0 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -497,10 +497,12 @@ void RegisterComponentsForUpdate() {
// 2. Chrome OS: On Chrome OS this registration is delayed until user login.
RegisterEVWhitelistComponent(cus, path);
- // Registration of the STH set fetcher here is not done for:
- // Android: Because the story around CT on Mobile is not finalized yet.
- // Chrome OS: On Chrome OS this registration is delayed until user login.
- RegisterSTHSetComponent(cus, path);
+ if (base::FeatureList::IsEnabled(features::kSTHSetComponent)) {
Eran Messeri 2016/07/08 15:39:36 Please document the experiment / link to a bug.
Alexei Svitkine (slow) 2016/07/08 15:42:15 Done.
+ // Registration of the STH set fetcher here is not done for:
+ // Android: Because the story around CT on Mobile is not finalized yet.
+ // Chrome OS: On Chrome OS this registration is delayed until user login.
+ RegisterSTHSetComponent(cus, path);
+ }
#endif // defined(OS_ANDROID)
RegisterOriginTrialsComponent(cus, path);
« no previous file with comments | « no previous file | chrome/common/chrome_features.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698