[webkit-changes] [WebKit/WebKit] 26ce6f: Clean up ExtensionKitSPI.h in preparation for impo...

Wenson Hsieh noreply at github.com
Tue Dec 12 00:00:36 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 26ce6ffaed99412d0b7d6f5296170da6e989ddcd
      https://github.com/WebKit/WebKit/commit/26ce6ffaed99412d0b7d6f5296170da6e989ddcd
  Author: Wenson Hsieh <wenson_hsieh at apple.com>
  Date:   2023-12-11 (Mon, 11 Dec 2023)

  Changed paths:
    M Source/WebKit/Platform/spi/Cocoa/ExtensionKitSPI.h

  Log Message:
  -----------
  Clean up ExtensionKitSPI.h in preparation for importing `ServiceExtensions` private headers
https://bugs.webkit.org/show_bug.cgi?id=266269
rdar://119534794

Reviewed by Tim Horton.

Clean up this SPI header, in preparation for subsequent patches that rely on importing
`ServiceExtensions_Private.h`:
-   Import the declarations of these ObjC classes directly from framework headers when available.
    Only fall back to forward declarations when the headers are absent.
-   Define IPI functionality in a separate IPI category.
-   Miscellaneous style cleanup (spaces before `*` for ObjC objects, and spaces before return types
    when declaring methods).

* Source/WebKit/Platform/spi/Cocoa/ExtensionKitSPI.h:

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




More information about the webkit-changes mailing list