std::erase now available

This change removes the unused inclusion of stragling headers for the
old `base::Erase/EraseIf`

Chromium change:
https://chromium.googlesource.com/chromium/src/+/fcb1dcc7fc7b7de16a27399f8ef7373dda9463cf

commit fcb1dcc7fc7b7de16a27399f8ef7373dda9463cf
Author: Andrew Rayskiy <greengrape@google.com>
Date:   Wed Mar 6 13:24:21 2024 +0000

    [base] Remove Erase()/EraseIf() overloads for std::vector<>

    All call sites have been updated to std::erase()/std::erase_if().

    Bug: 40256229
This commit is contained in:
Claudio DeSouza
2024-04-08 23:09:29 -04:00
committed by mkarolin
parent 31d8e4a559
commit 3fde0336ae
7 changed files with 0 additions and 7 deletions
@@ -10,7 +10,6 @@
#include <utility>
#include <vector>
#include "base/containers/cxx20_erase_vector.h"
#include "base/feature_list.h"
#include "base/strings/utf_string_conversions.h"
#include "brave/components/brave_perf_predictor/browser/perf_predictor_tab_helper.h"
-1
View File
@@ -9,7 +9,6 @@
#include <vector>
#include "base/containers/cxx20_erase.h"
#include "base/notreached.h"
#include "base/path_service.h"
#include "brave/browser/brave_vpn/win/service_constants.h"
@@ -9,7 +9,6 @@
#include <optional>
#include <vector>
#include "base/containers/cxx20_erase_vector.h"
#include "base/json/json_reader.h"
#include "base/memory/raw_ptr.h"
#include "base/test/bind.h"
@@ -12,7 +12,6 @@
#include <vector>
#include "base/containers/contains.h"
#include "base/containers/cxx20_erase_vector.h"
#include "base/containers/flat_map.h"
#include "base/containers/flat_set.h"
#include "base/ranges/algorithm.h"
@@ -8,7 +8,6 @@
#include <string_view>
#include <vector>
#include "base/containers/cxx20_erase_vector.h"
#include "brave/components/brave_shields/core/common/brave_shield_constants.h"
#include "third_party/blink/public/common/features.h"
@@ -11,7 +11,6 @@
#include "base/check.h"
#include "base/check_op.h"
#include "base/containers/cxx20_erase_vector.h"
#include "base/debug/alias.h"
#include "base/debug/dump_without_crashing.h"
#include "base/json/json_reader.h"
@@ -10,7 +10,6 @@
#include <utility>
#include <vector>
#include "base/containers/cxx20_erase.h"
#include "base/functional/bind.h"
#include "base/uuid.h"
#include "brave/components/brave_rewards/core/common/time_util.h"