Update to Chromium version 124.0.6367.0 (#1274542)

This commit is contained in:
Marshall Greenblatt
2024-03-19 17:11:42 -04:00
parent 526e934a12
commit 52dac91167
147 changed files with 1099 additions and 949 deletions

View File

@@ -88,9 +88,9 @@ class RequestManager {
map_.erase(it);
}
absl::optional<CefBrowserURLRequest::RequestInfo> Get(int32_t request_id) {
std::optional<CefBrowserURLRequest::RequestInfo> Get(int32_t request_id) {
if (request_id > kInitialRequestID) {
return absl::nullopt;
return std::nullopt;
}
base::AutoLock lock_scope(lock_);
@@ -98,7 +98,7 @@ class RequestManager {
if (it != map_.end()) {
return it->second;
}
return absl::nullopt;
return std::nullopt;
}
private:
@@ -608,16 +608,16 @@ class CefBrowserURLRequest::Context
// CefBrowserURLRequest -------------------------------------------------------
// static
absl::optional<CefBrowserURLRequest::RequestInfo>
std::optional<CefBrowserURLRequest::RequestInfo>
CefBrowserURLRequest::FromRequestID(int32_t request_id) {
if (IsValidRequestID(request_id)) {
return g_manager.Get().Get(request_id);
}
return absl::nullopt;
return std::nullopt;
}
// static
absl::optional<CefBrowserURLRequest::RequestInfo>
std::optional<CefBrowserURLRequest::RequestInfo>
CefBrowserURLRequest::FromRequestID(
const content::GlobalRequestID& request_id) {
return FromRequestID(request_id.request_id);