[webkit-changes] [WebKit/WebKit] eecd46: Fix the build when `nw_connection_privacy_stance_f...

Wenson Hsieh noreply at github.com
Thu Dec 15 08:54:18 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: eecd46d1010c7a3ddfc009b86934738d96cde0b1
      https://github.com/WebKit/WebKit/commit/eecd46d1010c7a3ddfc009b86934738d96cde0b1
  Author: Wenson Hsieh <wenson_hsieh at apple.com>
  Date:   2022-12-15 (Thu, 15 Dec 2022)

  Changed paths:
    M Source/WebCore/platform/network/NetworkLoadMetrics.h
    M Source/WebCore/platform/network/cocoa/WebCoreNSURLSession.mm
    M Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm

  Log Message:
  -----------
  Fix the build when `nw_connection_privacy_stance_failed_unreachable` is available
https://bugs.webkit.org/show_bug.cgi?id=249393

Reviewed by Alexey Proskuryakov.

* Source/WebCore/platform/network/NetworkLoadMetrics.h:

Add support for `PrivacyStance::FailedUnreachable`, which corresponds to the new
`nw_connection_privacy_stance_failed_unreachable` enum type exposed via the Network framework.

* Source/WebCore/platform/network/cocoa/WebCoreNSURLSession.mm:
(-[WebCoreNSURLSessionTaskTransactionMetrics _privacyStance]):
* Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm:
(toPrivacyStance):
(privacyStanceToString):

Canonical link: https://commits.webkit.org/257923@main




More information about the webkit-changes mailing list