Commit 5ebe9a6d authored by David Bienvenu's avatar David Bienvenu Committed by Commit Bot

fix official build breakage

TBR=dfried@chromium.org

Bug: 1101156
Change-Id: Ie75cfc36621166578a014b5e8290adf87bfe41dc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2277181Reviewed-by: default avatarDavid Bienvenu <davidbienvenu@chromium.org>
Commit-Queue: David Bienvenu <davidbienvenu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#784261}
parent 5a04dad7
...@@ -163,7 +163,7 @@ std::string GetModuleWarningDecisionString( ...@@ -163,7 +163,7 @@ std::string GetModuleWarningDecisionString(
return kAllowedSameDirectory; return kAllowedSameDirectory;
case WarningDecision::kAllowedMicrosoft: case WarningDecision::kAllowedMicrosoft:
return kAllowedMicrosoftModule; return kAllowedMicrosoftModule;
case WarningDecision::kAllowedAllowlisted: case WarningDecision::kAllowedWhitelisted:
return kAllowedAllowlisted; return kAllowedAllowlisted;
case WarningDecision::kNotAnalyzed: case WarningDecision::kNotAnalyzed:
return kNotAnalyzed; return kNotAnalyzed;
...@@ -443,7 +443,7 @@ void ConflictsDataFetcher::OnNewModuleFound(const ModuleInfoKey& module_key, ...@@ -443,7 +443,7 @@ void ConflictsDataFetcher::OnNewModuleFound(const ModuleInfoKey& module_key,
auto* module_blocklist_cache_updater = auto* module_blocklist_cache_updater =
ModuleDatabase::GetInstance() ModuleDatabase::GetInstance()
->third_party_conflicts_manager() ->third_party_conflicts_manager()
->module_blocklist_cache_updater(); ->module_blacklist_cache_updater();
data->SetString( data->SetString(
"third_party_module_status", "third_party_module_status",
......
...@@ -163,7 +163,7 @@ bool ShouldInsertInBlacklistCache(ModuleBlockingDecision blocking_decision) { ...@@ -163,7 +163,7 @@ bool ShouldInsertInBlacklistCache(ModuleBlockingDecision blocking_decision) {
case ModuleBlockingDecision::kAllowedSameCertificate: case ModuleBlockingDecision::kAllowedSameCertificate:
case ModuleBlockingDecision::kAllowedSameDirectory: case ModuleBlockingDecision::kAllowedSameDirectory:
case ModuleBlockingDecision::kAllowedMicrosoft: case ModuleBlockingDecision::kAllowedMicrosoft:
case ModuleBlockingDecision::kAllowedWhitelisted: case ModuleBlockingDecision::kAllowedAllowlisted:
case ModuleBlockingDecision::kTolerated: case ModuleBlockingDecision::kTolerated:
case ModuleBlockingDecision::kNotAnalyzed: case ModuleBlockingDecision::kNotAnalyzed:
return false; return false;
...@@ -377,7 +377,7 @@ ModuleBlacklistCacheUpdater::DetermineModuleBlockingDecision( ...@@ -377,7 +377,7 @@ ModuleBlacklistCacheUpdater::DetermineModuleBlockingDecision(
case ModuleListState::kUnlisted: case ModuleListState::kUnlisted:
break; break;
case ModuleListState::kWhitelisted: case ModuleListState::kWhitelisted:
return ModuleBlockingDecision::kAllowedWhitelisted; return ModuleBlockingDecision::kAllowedAllowlisted;
case ModuleListState::kTolerated: case ModuleListState::kTolerated:
return ModuleBlockingDecision::kTolerated; return ModuleBlockingDecision::kTolerated;
case ModuleListState::kBlacklisted: case ModuleListState::kBlacklisted:
......
...@@ -92,8 +92,8 @@ class ModuleBlacklistCacheUpdater : public ModuleDatabaseObserver { ...@@ -92,8 +92,8 @@ class ModuleBlacklistCacheUpdater : public ModuleDatabaseObserver {
// Allowed because it is signed by Microsoft. The certificate is not // Allowed because it is signed by Microsoft. The certificate is not
// validated. // validated.
kAllowedMicrosoft, kAllowedMicrosoft,
// Explicitly whitelisted by the Module List component. // Explicitly allowed by the Module List component.
kAllowedWhitelisted, kAllowedAllowlisted,
// Module analysis was interrupted using DisableModuleAnalysis(). This // Module analysis was interrupted using DisableModuleAnalysis(). This
// module will not be added to the cache. // module will not be added to the cache.
kNotAnalyzed, kNotAnalyzed,
...@@ -113,7 +113,7 @@ class ModuleBlacklistCacheUpdater : public ModuleDatabaseObserver { ...@@ -113,7 +113,7 @@ class ModuleBlacklistCacheUpdater : public ModuleDatabaseObserver {
// blacklist. // blacklist.
kDisallowedExplicit, kDisallowedExplicit,
// The module will be implicitly blocked because it is not otherwise // The module will be implicitly blocked because it is not otherwise
// whitelisted. // allowed.
kDisallowedImplicit, kDisallowedImplicit,
// New "disallowed" reasons should be added here! // New "disallowed" reasons should be added here!
}; };
......
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