Bug 213912

Summary: Change the names of MIMETypeRegistry methods to comply with webkit naming style
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: New BugsAssignee: Said Abou-Hallawa <sabouhallawa>
Status: RESOLVED FIXED    
Severity: Normal CC: berto, calvaris, cdumez, cgarcia, changseok, darin, eric.carlson, esprehn+autocc, ews-watchlist, galpeter, glenn, gustavo, gyuyoung.kim, Hironori.Fujii, japhet, jer.noble, menard, mifenton, philipj, pnormand, sergio, simon.fraser, thorton, vjaquez, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=213826
Attachments:
Description Flags
Patch
none
Patch none

Description Said Abou-Hallawa 2020-07-02 17:52:38 PDT
Change the name of the following methods:

MIMETypeRegistry::getMIMETypeForExtension
MIMETypeRegistry::getExtensionsForMIMEType
MIMETypeRegistry::getPreferredExtensionForMIMEType
MIMETypeRegistry::getMediaMIMETypeForExtension
MIMETypeRegistry::getMIMETypeForPath
MIMETypeRegistry::getNormalizedMIMEType

To be:

MIMETypeRegistry::mimeTypeForExtension
MIMETypeRegistry::extensionsForMIMEType
MIMETypeRegistry::preferredExtensionForMIMEType
MIMETypeRegistry::mediaMIMETypeForExtension
MIMETypeRegistry::mimeTypeForPath
MIMETypeRegistry::normalizedMIMEType
Comment 1 Said Abou-Hallawa 2020-07-02 18:00:47 PDT
Created attachment 403424 [details]
Patch
Comment 2 Said Abou-Hallawa 2020-07-02 18:10:39 PDT
Created attachment 403427 [details]
Patch
Comment 3 EWS Watchlist 2020-07-02 18:11:44 PDT
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Comment 4 EWS 2020-07-03 02:35:52 PDT
Committed r263890: <https://trac.webkit.org/changeset/263890>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 403427 [details].
Comment 5 Radar WebKit Bug Importer 2020-07-03 02:36:19 PDT
<rdar://problem/65069686>
Comment 6 Fujii Hironori 2020-07-03 17:42:27 PDT
Committed r263923: <https://trac.webkit.org/changeset/263923>