chore: bump chromium to 129.0.6616.0 (main) (#43012)

* chore: bump chromium in DEPS to 128.0.6613.0

* chore: 5725076: Update EventType names | 5725076

* chore: export patches

* chore: 5725076: Update EventType names | 5725076 for windows

* chore: bump chromium in DEPS to 129.0.6614.0

* 5725672: Add a feature to limit the number of preconnect in LoadingPredictor | 5725672

* chore: bump chromium in DEPS to 129.0.6616.0

* chore: e patches all and resolve conflict in  patches/v8/fix_disable_scope_reuse_associated_dchecks.patch

* 5730656: Show an error dialog when UpdatePrintSettings() fails | 5730656

* chore: gen-libc++-filenames

* 5729956: Finally remove string_piece.h | 5729956

* chore: replace all references of base::StringPiece with std::string_view

* chore: remove more references of stringPiece in favor of string_view

* chore: rename string_piece variables to string_view

* 5508795: Remove the NotificationService | 5508795

* 5734053: Revert Rename GlobalFeatures to GlobalDesktopFeatures. | 5734053

* chore: resolve conflict with main without merge

---------

Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Alice Zhao <alice@makenotion.com>
This commit is contained in:
electron-roller[bot] 2024-07-29 09:37:35 -04:00 committed by GitHub
parent 4286234721
commit 92496c1930
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
77 changed files with 322 additions and 313 deletions

View file

@ -4,6 +4,7 @@
#include "shell/browser/net/url_pipe_loader.h"
#include <string_view>
#include <utility>
#include "base/task/sequenced_task_runner.h"
@ -82,12 +83,12 @@ void URLPipeLoader::OnWrite(base::OnceClosure resume, MojoResult result) {
NotifyComplete(net::ERR_FAILED);
}
void URLPipeLoader::OnDataReceived(base::StringPiece string_piece,
void URLPipeLoader::OnDataReceived(std::string_view string_view,
base::OnceClosure resume) {
producer_->Write(
std::make_unique<mojo::StringDataSource>(
string_piece, mojo::StringDataSource::AsyncWritingMode::
STRING_MAY_BE_INVALIDATED_BEFORE_COMPLETION),
string_view, mojo::StringDataSource::AsyncWritingMode::
STRING_MAY_BE_INVALIDATED_BEFORE_COMPLETION),
base::BindOnce(&URLPipeLoader::OnWrite, weak_factory_.GetWeakPtr(),
std::move(resume)));
}