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

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: Add a comment. 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..b36d0f128a4d8012813d7d1cc66046723630f72f 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -497,10 +497,14 @@ 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);
+ // Note: This is behind a base::Feature to verify whether it causes a
+ // suspected startup regression. See: http://crbug.com/626676
+ if (base::FeatureList::IsEnabled(features::kSTHSetComponent)) {
+ // 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