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

Unified Diff: components/password_manager/core/browser/password_store_factory_util.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: Fixes mac bot breakages. 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: components/password_manager/core/browser/password_store_factory_util.cc
diff --git a/components/password_manager/core/browser/password_store_factory_util.cc b/components/password_manager/core/browser/password_store_factory_util.cc
index 5f6eb805abf6dd9b93f6569ff880e8a6e54ac4f1..830f362e148435aacb44f8355dbc40b33f57495b 100644
--- a/components/password_manager/core/browser/password_store_factory_util.cc
+++ b/components/password_manager/core/browser/password_store_factory_util.cc
@@ -18,8 +18,7 @@ namespace {
bool ShouldAffiliationBasedMatchingBeActive(
sync_driver::SyncService* sync_service) {
- base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
- if (!IsAffiliationBasedMatchingEnabled(*command_line))
+ if (!IsAffiliationBasedMatchingEnabled())
return false;
return sync_service && sync_service->CanSyncStart() &&
@@ -46,8 +45,7 @@ void ActivateAffiliationBasedMatching(
password_store->SetAffiliatedMatchHelper(std::move(affiliated_match_helper));
password_store->enable_propagating_password_changes_to_web_credentials(
- IsPropagatingPasswordChangesToWebCredentialsEnabled(
- *base::CommandLine::ForCurrentProcess()));
+ IsPropagatingPasswordChangesToWebCredentialsEnabled());
}
base::FilePath GetAffiliationDatabasePath(const base::FilePath& profile_path) {

Powered by Google App Engine
This is Rietveld 408576698