The chromium only has unity_service for gtk port.
So, the unity_service needs to be implemented for EFL port in chromium-efl.
>> undefined reference to `unity::*'
Change-Id: I3cfc26b94f118274e9854296395de9faf169b0fa
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
#include "atom/browser/window_list.h"
#include "atom/common/atom_version.h"
#include "brightray/common/application_info.h"
+#if !defined(USE_EFL)
#include "chrome/browser/ui/libgtkui/unity_service.h"
+#endif
namespace atom {
}
bool Browser::SetBadgeCount(int count) {
+#if defined(USE_EFL)
+ return false;
+# else
if (IsUnityRunning()) {
unity::SetDownloadCount(count);
badge_count_ = count;
} else {
return false;
}
+#endif
}
void Browser::SetLoginItemSettings(LoginItemSettings settings) {
}
bool Browser::IsUnityRunning() {
+#if defined(USE_EFL)
+ return false;
+#else
return unity::IsRunning();
+#endif
}
} // namespace atom