chore: bump chromium to 111.0.5518.0 (main) (#36575)
* chore: bump chromium in DEPS to 110.0.5461.0 * chore: update patches * 3903024: hid: Add connection count tracking methods for HidDelegate3903024
* 4076211: Turn FrameTreeNode::frame_tree into raw_ref.4076211
* chore: bump chromium in DEPS to 110.0.5463.0 * chore: bump chromium in DEPS to 110.0.5465.0 * fix patches * 3835037: Add new slides media session actions to Picture-in-Picture window3835037
* chore: update patches * chore: bump chromium in DEPS to 110.0.5467.0 * chore: update patches * chore: bump chromium in DEPS to 110.0.5469.0 * chore: bump chromium in DEPS to 110.0.5471.0 * chore: bump chromium in DEPS to 110.0.5473.0 * chore: bump chromium in DEPS to 110.0.5475.0 * chore: update patches * 4074449: Add gl::FrameData to software path4074449
* 4065264: [Extensions] Add a new side panel view type4065264
* 4060548: Remove base::Value::GetListDeprecated().4060548
* chore: add missing RefCountedMemory include * 4081108: task posting v3: remove task_runner_util{.h,_unittest.cc}4081108
* 4072471: Rename Mixed Download Blocking to Insecure Download Blocking4072471
* 4025927: [Code Health] Migrate e/c/manifest.cc to base::Value::Dict interface4025927
* chore: fixup patch indices * chore: bump chromium in DEPS to 110.0.5477.0 * chore: fixup preconnect_manager.patch * chore: fixup patch indices * fixup! 4074449: Add gl::FrameData to software path * 4074449: Add gl::FrameData to software path This commit also reformatted the two files in this patch. The only change here is the addition of the |data| arg to |OnSwapBuffers|.4074449
* 4081108: task posting v3: remove task_runner_util{.h,_unittest.cc}4081108
* 4085814: [Test Automation] Move NativeWindowTracker to ui/views4085814
* 4032656: hid: Abstract HidSystemTrayIcon class for profiles' HID connections4032656
* chore: bump chromium in DEPS to 110.0.5479.0 * chore: fixup patches & simplify printing patch To be specific, I replaced some combination of line removals & commenting-out with `#if 0` blocks since they were already there for android. Should be functionally the same, just written differently for better patch maintainability. * chore: bump chromium in DEPS to 110.0.5481.0 * chore: update patch indicies * 4098946: Migrate Extension::Create() argument to base::Value::Dict (part 4 of 4)4098946
* chore: bump chromium in DEPS to 111.0.5482.0 * chore: bump chromium in DEPS to 111.0.5484.0 * chore: bump chromium in DEPS to 111.0.5486.0 * chore: update patch indices * 4112903: Reland "Move gl::FrameData to gfx::FrameData"4112903
* 4056216: Option to create a tab target with Target.createTarget in /json/new4056216
* chore: bump chromium in DEPS to 111.0.5488.0 * chore: bump chromium in DEPS to 111.0.5490.0 * chore: bump chromium in DEPS to 111.0.5492.0 * chore: bump chromium in DEPS to 111.0.5494.0 * chore: bump chromium in DEPS to 111.0.5496.0 * chore: bump chromium in DEPS to 111.0.5498.0 * chore: bump chromium in DEPS to 111.0.5500.0 * chore: bump chromium in DEPS to 111.0.5502.0 * chore: update patch indices + small update to printing.patch due to: 3653941: [printing] Extract settings logic from PrintJobWorker3653941
* 4113994: Cleanup: Rename webui_generated_resources_* to webui_resources_*.4113994
* 4112537: Remove DictionaryPrefUpdate.4112537
* 4072073: Remove //chrome/browser/ash dependency from pdf_extension_util.cc4072073
* 4055223: [Remove FileSystemConnector] Remove DownloadItemRerouteInfo4055223
* Migrate base::DictionaryValue to base::Value::Dict This relates to multiple CLs cleaning up this class in this roll, but the ones that are specifically relevant here: 4116096: [CodeHealth] Remove DictionaryValue::GetInteger4116096
4113764: [CodeHealth] Remove deprecated DictionaryValue::SetInteger()4113764
* 3653941: [printing] Extract settings logic from PrintJobWorker3653941
* chore: bump chromium in DEPS to 111.0.5504.0 * chore: update patches * (WIP) 4003663: Enable Microtask queues per WindowAgent.4003663
* chore: bump chromium in DEPS to 111.0.5506.0 * chore: update patches * fix: printing patch It was complaining that this method isn't used on windows * chore: bump chromium in DEPS to 111.0.5508.0 * chore: bump chromium in DEPS to 111.0.5510.0 * chore: bump chromium in DEPS to 111.0.5512.0 * chore: bump chromium in DEPS to 111.0.5514.0 * chore: bump chromium in DEPS to 111.0.5516.0 * chore: update patches * chore: bump chromium in DEPS to 111.0.5518.0 * chore: update patches * 4027428: [rsafor] Move rsaFor requests to a separate permission4027428
* Revert "(WIP) 4003663: Enable Microtask queues per WindowAgent." This reverts commit cc36d226e3f3fe5f4bea6538102d55ce3203190f. * chore: disable Microtask queues per WindowAgent. see4003663
* chore: cleanup after rebase * fixup: disable Microtask queues per WindowAgent. * chore: cleanup password from keychain after test Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> Co-authored-by: Jeremy Rose <jeremya@chromium.org> Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> Co-authored-by: Calvin Watford <cwatford@slack-corp.com> Co-authored-by: clavin <clavin@electronjs.org>
This commit is contained in:
parent
ba962c94cc
commit
90af7d7fe2
118 changed files with 684 additions and 738 deletions
|
@ -290,20 +290,21 @@ class InspectableWebContents::NetworkResourceLoader
|
|||
stream_id_, bindings_, resource_request_, traffic_annotation_,
|
||||
std::move(url_loader_factory_), std::move(callback_), delay);
|
||||
} else {
|
||||
base::DictionaryValue response;
|
||||
response.SetInteger("statusCode", response_headers_
|
||||
? response_headers_->response_code()
|
||||
: net::HTTP_OK);
|
||||
base::Value response(base::Value::Type::DICT);
|
||||
response.GetDict().Set(
|
||||
"statusCode", response_headers_ ? response_headers_->response_code()
|
||||
: net::HTTP_OK);
|
||||
|
||||
auto headers = std::make_unique<base::DictionaryValue>();
|
||||
base::Value::Dict headers;
|
||||
size_t iterator = 0;
|
||||
std::string name;
|
||||
std::string value;
|
||||
while (response_headers_ &&
|
||||
response_headers_->EnumerateHeaderLines(&iterator, &name, &value))
|
||||
headers->SetString(name, value);
|
||||
headers.Set(name, value);
|
||||
|
||||
response.GetDict().Set("headers", std::move(headers));
|
||||
|
||||
response.Set("headers", std::move(headers));
|
||||
std::move(callback_).Run(&response);
|
||||
}
|
||||
|
||||
|
@ -654,8 +655,8 @@ void InspectableWebContents::LoadNetworkResource(DispatchCallback callback,
|
|||
int stream_id) {
|
||||
GURL gurl(url);
|
||||
if (!gurl.is_valid()) {
|
||||
base::DictionaryValue response;
|
||||
response.SetInteger("statusCode", net::HTTP_NOT_FOUND);
|
||||
base::Value response(base::Value::Type::DICT);
|
||||
response.GetDict().Set("statusCode", net::HTTP_NOT_FOUND);
|
||||
std::move(callback).Run(&response);
|
||||
return;
|
||||
}
|
||||
|
@ -875,18 +876,18 @@ void InspectableWebContents::GetPreference(DispatchCallback callback,
|
|||
|
||||
void InspectableWebContents::SetPreference(const std::string& name,
|
||||
const std::string& value) {
|
||||
DictionaryPrefUpdate update(pref_service_, kDevToolsPreferences);
|
||||
update.Get()->SetKey(name, base::Value(value));
|
||||
ScopedDictPrefUpdate update(pref_service_, kDevToolsPreferences);
|
||||
update->Set(name, base::Value(value));
|
||||
}
|
||||
|
||||
void InspectableWebContents::RemovePreference(const std::string& name) {
|
||||
DictionaryPrefUpdate update(pref_service_, kDevToolsPreferences);
|
||||
update.Get()->RemoveKey(name);
|
||||
ScopedDictPrefUpdate update(pref_service_, kDevToolsPreferences);
|
||||
update->Remove(name);
|
||||
}
|
||||
|
||||
void InspectableWebContents::ClearPreferences() {
|
||||
DictionaryPrefUpdate unsynced_update(pref_service_, kDevToolsPreferences);
|
||||
unsynced_update->GetDict().clear();
|
||||
ScopedDictPrefUpdate unsynced_update(pref_service_, kDevToolsPreferences);
|
||||
unsynced_update->clear();
|
||||
}
|
||||
|
||||
void InspectableWebContents::GetSyncInformation(DispatchCallback callback) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue