Bug 212827

Summary: [IPC] Adopt enum class for PluginLoadClientPolicy
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: Plug-insAssignee: David Kilzer (:ddkilzer) <ddkilzer>
Severity: Normal CC: achristensen, darin, useafterfree, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=212758
Bug Depends on:    
Bug Blocks: 211988    
Description Flags
Patch v1
Patch v2 none

Description David Kilzer (:ddkilzer) 2020-06-05 08:43:28 PDT
Adopt enum class for PluginLoadClientPolicy.

Also add EnumTraits< WebCore::PluginLoadClientPolicy > since this type is used via IPC, and replace uint8_t with more strongly typed WebCore::PluginLoadClientPolicy.
Comment 1 David Kilzer (:ddkilzer) 2020-06-05 08:46:32 PDT
Comment 2 David Kilzer (:ddkilzer) 2020-06-05 09:39:45 PDT
Created attachment 401163 [details]
Patch v1
Comment 3 David Kilzer (:ddkilzer) 2020-06-05 09:47:19 PDT
Comment on attachment 401163 [details]
Patch v1

Wee!  Build failures.
Comment 4 David Kilzer (:ddkilzer) 2020-06-05 10:32:51 PDT
Created attachment 401172 [details]
Patch v2
Comment 5 David Kilzer (:ddkilzer) 2020-06-05 13:06:36 PDT
Comment on attachment 401172 [details]
Patch v2

Adding cq+ since the Windows layout test failure and the api-ios test failure don't seem to be related to this patch.
Comment 6 EWS 2020-06-05 13:15:13 PDT
Committed r262648: <https://trac.webkit.org/changeset/262648>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 401172 [details].