Adding stubs/mocks for missing references to following two methods:
- pepper::TrustedPepperPluginInfoCache::GetInstance
- pepper::TrustedPepperPluginInfoCache::GetPlugins
Change-Id: Ia31950f9ca38f8b383a693be6718d861bf401df2
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//ppapi/buildflags/buildflags.gni") # For the enable_plugins variable.
import("//testing/test.gni")
import("//third_party/blink/renderer/bindings/bindings.gni")
import("//tizen_src/build/config/tizen_features.gni")
# configs += [ "//tizen_src/build:accessory" ]
sources += [ "stub_gamepad_platform_data_fetcher_tizen_tv.cc" ]
}
+ if (enable_plugins && tizen_pepper_extensions) {
+ sources += [ "stub_trusted_pepper_plugin_info_cache.cc" ]
+ }
}
test("tizen_blink_unittests") {
--- /dev/null
+// Copyright 2025 Samsung Electronics Inc. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "common/trusted_pepper_plugin_info_cache.h"
+namespace pepper {
+
+// TrustedPepperPluginInfoCache:
+
+#if defined(TIZEN_PEPPER_EXTENSIONS)
+
+//static
+TrustedPepperPluginInfoCache* TrustedPepperPluginInfoCache::GetInstance() {
+ return nullptr;
+}
+
+void TrustedPepperPluginInfoCache::GetPlugins(
+ std::vector<content::ContentPluginInfo>* plugins) {}
+
+#endif
+
+} // namespace pepper