[M108 Aura Migration][NaCl][PPFWK]Fix tpk loading fail issue 67/290067/3
authorXiaoshu Wei <xiaoshu.wei@samsung.com>
Mon, 20 Mar 2023 03:44:35 +0000 (11:44 +0800)
committerBot Blink <blinkbot@samsung.com>
Wed, 22 Mar 2023 06:37:28 +0000 (06:37 +0000)
commitfe8ad7073c3406f51a45cb843af457445a7d473f
treef028602e72e08ba62dd4573079590d9f85fae278
parent22217a36162b2a694fbcd07e74d1ad0279103bf6
[M108 Aura Migration][NaCl][PPFWK]Fix tpk loading fail issue

After reboot tv, install tpk and launch web app, the tpk will load fail.
This is related to the plugins in the TrustedPepperPluginInfoCache and
ppapi_plugins_ is not sync.

When not found plugin in ppapi_plugins_, add logic to continue find in
TrustedPepperPluginInfoCache. If found, then add it in ppapi_plugins_.

Jira task:
http://jira.vd.sec.samsung.net/browse/WEBSRCN-3287

Ported from Tizen7.0:
https://review.tizen.org/gerrit/#/c/284044/
https://review.tizen.org/gerrit/#/c/284307/

Change-Id: I0e739cff834e3903e37feaaf8e6f3fd91aea6e43
Signed-off-by: Xiaoshu Wei <xiaoshu.wei@samsung.com>
content/browser/plugin_service_impl.cc