Add Alloy bootstrap deprecation warnings (see #3685)

Alloy bootstrap is deprecated and will be removed in ~M127.
This commit is contained in:
Marshall Greenblatt
2024-05-03 13:01:30 -04:00
parent 39993d8c0c
commit 9f45038464
9 changed files with 44 additions and 4 deletions

View File

@ -258,6 +258,10 @@ bool CefMainRunner::Initialize(CefSettings* settings,
void* windows_sandbox_info,
bool* initialized,
base::OnceClosure context_initialized) {
LOG_IF(WARNING, !settings->chrome_runtime)
<< "Alloy bootstrap is deprecated and will be removed in ~M127. See "
"https://github.com/chromiumembedded/cef/issues/3685";
DCHECK(!main_delegate_);
main_delegate_ = MakeDelegate(
settings->chrome_runtime ? RuntimeType::CHROME : RuntimeType::ALLOY, this,