From 667c230d40c032e6d4eb0a52ed98f1abf379b4b5 Mon Sep 17 00:00:00 2001 From: Shivan Kaul Sahib Date: Thu, 12 Sep 2024 17:19:16 -0700 Subject: [PATCH] Presubmit fixes --- .../ad_block_component_service_manager.cc | 28 ++++++++----------- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/components/brave_shields/core/browser/ad_block_component_service_manager.cc b/components/brave_shields/core/browser/ad_block_component_service_manager.cc index bc2daaf3a30e..ed005cd6bbd8 100644 --- a/components/brave_shields/core/browser/ad_block_component_service_manager.cc +++ b/components/brave_shields/core/browser/ad_block_component_service_manager.cc @@ -28,8 +28,8 @@ using brave_shields::features::kBraveAdblockCookieListDefault; using brave_shields::features::kBraveAdblockExperimentalListDefault; -using brave_shields::features::kBraveAdblockTwitchListDefault; using brave_shields::features::kBraveAdblockMobileNotificationsListDefault; +using brave_shields::features::kBraveAdblockTwitchListDefault; namespace brave_shields { @@ -41,22 +41,16 @@ typedef struct ListDefaultOverrideConstants { } ListDefaultOverrideConstants; const ListDefaultOverrideConstants kOverrideConstants[4] = { - { - .feature = raw_ref(kBraveAdblockCookieListDefault), - .list_uuid = kCookieListUuid - }, - { - .feature = raw_ref(kBraveAdblockMobileNotificationsListDefault), - .list_uuid = kMobileNotificationsListUuid - }, - { - .feature = raw_ref(kBraveAdblockExperimentalListDefault), - .list_uuid = kExperimentalListUuid - }, - { - .feature = raw_ref(kBraveAdblockTwitchListDefault), - .list_uuid = kTwitchListUuid - }, + {.feature = raw_ref(kBraveAdblockCookieListDefault), + .list_uuid = kCookieListUuid}, + {.feature = raw_ref( + kBraveAdblockMobileNotificationsListDefault), + .list_uuid = kMobileNotificationsListUuid}, + {.feature = + raw_ref(kBraveAdblockExperimentalListDefault), + .list_uuid = kExperimentalListUuid}, + {.feature = raw_ref(kBraveAdblockTwitchListDefault), + .list_uuid = kTwitchListUuid}, }; } // namespace