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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 1668523002: [Password Manager] Switch password manager code to use the Feature framework. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresses Vaclav's inputs. 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: chrome/browser/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index e2724565e5ccc7d183777ffd0a2b5466f33f6034..301a5989b058caf3cf7bed4e461f11e25f045fbf 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -114,6 +114,7 @@
#include "components/metrics/profiler/tracking_synchronizer.h"
#include "components/metrics_services_manager/metrics_services_manager.h"
#include "components/nacl/browser/nacl_browser.h"
+#include "components/password_manager/core/browser/password_manager_util.h"
#include "components/prefs/json_pref_store.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/pref_service.h"
@@ -714,6 +715,7 @@ void ChromeBrowserMainParts::SetupMetricsAndFieldTrials() {
!command_line->HasSwitch(switches::kForceFieldTrials) &&
!command_line->HasSwitch(variations::switches::kVariationsServerURL)) {
chrome_variations::AssociateDefaultFieldTrialConfig(feature_list.get());
+ password_manager_util::RegisterFieldTrials(feature_list.get());
}
#endif // defined(FIELDTRIAL_TESTING_ENABLED)

Powered by Google App Engine
This is Rietveld 408576698