Commit e9094ae7 authored by Maksim Moskvitin's avatar Maksim Moskvitin Committed by Chromium LUCI CQ

[TrustedVault] Consume kFollowTrustedVaultKeyRotation

Check of kFollowTrustedVaultKeyRotation was accidentally removed. It
currently doesn't lead to accidental enabling of the feature, because
the feature requires specific command-line setup, but seems dangerous.

Bug: 1113598
Change-Id: I298b73f2e6569232693134e8f0e0812d1121498e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2627154
Commit-Queue: Maksim Moskvitin <mmoskvitin@google.com>
Reviewed-by: default avatarMikel Astiz <mastiz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#844066}
parent 4beec3a2
...@@ -147,7 +147,8 @@ StandaloneTrustedVaultClient::StandaloneTrustedVaultClient( ...@@ -147,7 +147,8 @@ StandaloneTrustedVaultClient::StandaloneTrustedVaultClient(
std::unique_ptr<TrustedVaultConnection> connection; std::unique_ptr<TrustedVaultConnection> connection;
GURL trusted_vault_service_gurl = GURL trusted_vault_service_gurl =
ExtractTrustedVaultServiceURLFromCommandLine(); ExtractTrustedVaultServiceURLFromCommandLine();
if (trusted_vault_service_gurl.is_valid()) { if (base::FeatureList::IsEnabled(switches::kFollowTrustedVaultKeyRotation) &&
trusted_vault_service_gurl.is_valid()) {
connection = std::make_unique<TrustedVaultConnectionImpl>( connection = std::make_unique<TrustedVaultConnectionImpl>(
trusted_vault_service_gurl, url_loader_factory->Clone(), trusted_vault_service_gurl, url_loader_factory->Clone(),
std::make_unique<TrustedVaultAccessTokenFetcherImpl>( std::make_unique<TrustedVaultAccessTokenFetcherImpl>(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment