Remove uses of StringPiece and its variants

Upstream is set to deprecated, and delete all occurrences of
`base::StringPiece`, and replace it with `std::string_view`, and
according correspondent types.

This change removes the use of `base::StringPiece`, and of the headers
as well across the Brave codebase.
This commit is contained in:
Claudio DeSouza
2023-09-22 16:26:38 +03:00
parent bcaeae3c96
commit be214871df
183 changed files with 824 additions and 670 deletions
@@ -11,7 +11,6 @@
#include <string>
#include "base/files/file_path.h"
#include "base/strings/string_piece.h"
#include "brave/components/brave_component_updater/browser/local_data_files_observer.h"
#include "brave/components/brave_component_updater/browser/local_data_files_service.h"