Fix link error when build with "--build-chrome":
ld.lld: error: undefined symbol: content::IsWebBrowser()
ld.lld: error: undefined symbol: switches::kTizenAppId
Change-Id: Id100dd5deaa7bc1c0f8123c0b66b7db75e90ac19
Signed-off-by: zhishun.zhou <zhishun.zhou@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