#if BUILDFLAG(IS_ANDROID)
const GURL local_url;
#else
- const bool default_is_google = DefaultSearchProviderIsGoogle(profile);
- const GURL local_url(default_is_google
+
#if defined(SAMSUNG_NEXT_BROWSER)
- ? chrome::kChromeUIInternalURL
+ const GURL local_url(chrome::kChromeUIInternalURL);
+ return NewTabURLDetails(local_url, NEW_TAB_URL_VALID);
#else
+ const bool default_is_google = DefaultSearchProviderIsGoogle(profile);
+ const GURL local_url(default_is_google
? chrome::kChromeUINewTabPageURL
-#endif
: chrome::kChromeUINewTabPageThirdPartyURL);
if (default_is_google) {
return NewTabURLDetails(local_url, NEW_TAB_URL_VALID);
}
+#endif
+
#endif
const TemplateURL* template_url =
return false;
#endif
bool result = AreWebAppsEnabled(profile) && !profile->IsGuestSession() &&
- !profile->IsOffTheRecord();
+ !profile->IsOffTheRecord();
#if defined(SAMSUNG_NEXT_BROWSER)
if (!result)