
In iOS, DevTools' user control happens in the host machine connected with a remote device (or simulator). So there's no need to setup the DevTools frontend mechanisms on iOS, similarly like Android. This CL therefore changes the OnFrontendResourceRequest to reply with 404 and not the actual DevTools frontend. Besides, it protects DevTools frontend related code away from iOS. Bug: 1426572 Test: open the DevTools front-end page (e.g. http://127.0.0.1:64082/devtools/devtools_app.html) and see that the server returns 404 now Change-Id: I57d1b0ce9b5ac736edaacf2cd13c8b6f4f26af8d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4405031 Reviewed-by: danakj <danakj@chromium.org> Reviewed-by: Andrey Kosyakov <caseq@chromium.org> Auto-Submit: Tiago Vignatti <tvignatti@igalia.com> Quick-Run: Tiago Vignatti <tvignatti@igalia.com> Commit-Queue: danakj <danakj@chromium.org> Cr-Commit-Position: refs/heads/main@{#1127423}