Fix link error when build with "--build-chrome":
ld.lld: error: undefined symbol: content::IsWebBrowser()
ld.lld: error: undefined symbol: switches::kTizenAppId
Reference: https://review.tizen.org/gerrit/308357
Change-Id: Ia979f494b56b9a4e6c0b7b56be8f31e46c413c39
Signed-off-by: v-saha <v.saha@samsung.com>
#endif
#if BUILDFLAG(IS_TIZEN_TV)
-#include "tizen_src/ewk/efl_integration/common/application_type.h"
+#include "third_party/blink/public/platform/web_application_type.h"
#endif
namespace content {
#if BUILDFLAG(IS_TIZEN_TV)
// report device list to webbrowser
- if (IsWebBrowser() && !enum_cb_.is_null()) {
+ if (blink::IsWebBrowser() && !enum_cb_.is_null()) {
got_result_[static_cast<size_t>(type)] = true;
for (const auto& device : snapshot) {
int max_width = 0;
int max_height = 0;
int max_framerate = 0;
+#if !defined(BUILD_CHROME)
std::string app_id =
base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
switches::kTizenAppId);
+#else
+ std::string app_id = "";
+#endif
// resource center returns decodeer ability not resolution (ex.1088)
// http://wiki.vd.sec.samsung.net/display/OSS/02.+Max+Resolution