chore: bump chromium to bf3f97675b5d9eade34526ebf730c (master) (#27305)
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
parent
1023988ea8
commit
ed126eced4
55 changed files with 245 additions and 230 deletions
|
@ -146,7 +146,8 @@ gin::WrapperInfo DataPipeHolder::kWrapperInfo = {gin::kEmbedderNativeGin};
|
|||
|
||||
DataPipeHolder::DataPipeHolder(const network::DataElement& element)
|
||||
: id_(base::NumberToString(++g_next_id)) {
|
||||
data_pipe_.Bind(element.CloneDataPipeGetter());
|
||||
data_pipe_.Bind(
|
||||
element.As<network::DataElementDataPipe>().CloneDataPipeGetter());
|
||||
}
|
||||
|
||||
DataPipeHolder::~DataPipeHolder() = default;
|
||||
|
|
|
@ -492,8 +492,11 @@ gin::Handle<SimpleURLLoaderWrapper> SimpleURLLoaderWrapper::Create(
|
|||
args->isolate(), body_func,
|
||||
data_pipe_getter.InitWithNewPipeAndPassReceiver())
|
||||
.ToV8();
|
||||
request->request_body = new network::ResourceRequestBody();
|
||||
request->request_body->SetToChunkedDataPipe(std::move(data_pipe_getter));
|
||||
request->request_body =
|
||||
base::MakeRefCounted<network::ResourceRequestBody>();
|
||||
request->request_body->SetToChunkedDataPipe(
|
||||
std::move(data_pipe_getter),
|
||||
network::ResourceRequestBody::ReadOnlyOnce(false));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -243,11 +243,6 @@ BrowserProcessImpl::floc_sorting_lsh_clusters_service() {
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
optimization_guide::OptimizationGuideService*
|
||||
BrowserProcessImpl::optimization_guide_service() {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
component_updater::ComponentUpdateService*
|
||||
BrowserProcessImpl::component_updater() {
|
||||
return nullptr;
|
||||
|
|
|
@ -81,8 +81,6 @@ class BrowserProcessImpl : public BrowserProcess {
|
|||
override;
|
||||
federated_learning::FlocSortingLshClustersService*
|
||||
floc_sorting_lsh_clusters_service() override;
|
||||
optimization_guide::OptimizationGuideService* optimization_guide_service()
|
||||
override;
|
||||
component_updater::ComponentUpdateService* component_updater() override;
|
||||
MediaFileSystemRegistry* media_file_system_registry() override;
|
||||
WebRtcLogUploader* webrtc_log_uploader() override;
|
||||
|
|
|
@ -232,3 +232,10 @@ GURL ElectronManagementAPIDelegate::GetIconURL(
|
|||
CHECK(icon_url.is_valid());
|
||||
return icon_url;
|
||||
}
|
||||
|
||||
GURL ElectronManagementAPIDelegate::GetEffectiveUpdateURL(
|
||||
const extensions::Extension& extension,
|
||||
content::BrowserContext* context) const {
|
||||
// TODO(codebytere): we do not currently support ExtensionManagement.
|
||||
return GURL::EmptyGURL();
|
||||
}
|
||||
|
|
|
@ -81,6 +81,8 @@ class ElectronManagementAPIDelegate : public extensions::ManagementAPIDelegate {
|
|||
int icon_size,
|
||||
ExtensionIconSet::MatchType match,
|
||||
bool grayscale) const override;
|
||||
GURL GetEffectiveUpdateURL(const extensions::Extension& extension,
|
||||
content::BrowserContext* context) const override;
|
||||
};
|
||||
|
||||
#endif // SHELL_BROWSER_EXTENSIONS_API_MANAGEMENT_ELECTRON_MANAGEMENT_API_DELEGATE_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue