Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2816)

Unified Diff: chrome/browser/sync/sessions/notification_service_sessions_router.cc

Issue 2619603002: Remove android_java_ui as it is not used (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/sessions/notification_service_sessions_router.cc
diff --git a/chrome/browser/sync/sessions/notification_service_sessions_router.cc b/chrome/browser/sync/sessions/notification_service_sessions_router.cc
index 836ce30450baf8cbeb775c0e8f0640fe07d2881a..9bb3d5c8e7d283a9d8c23b16a532c876647fbe88 100644
--- a/chrome/browser/sync/sessions/notification_service_sessions_router.cc
+++ b/chrome/browser/sync/sessions/notification_service_sessions_router.cc
@@ -24,7 +24,7 @@
#include "content/public/browser/web_contents.h"
#include "extensions/features/features.h"
-#if BUILDFLAG(ANDROID_JAVA_UI)
+#if defined(OS_ANDROID)
#include "chrome/browser/android/tab_android.h"
#endif
@@ -46,7 +46,7 @@ namespace {
SyncedTabDelegate* GetSyncedTabDelegateFromWebContents(
content::WebContents* web_contents) {
-#if BUILDFLAG(ANDROID_JAVA_UI)
+#if defined(OS_ANDROID)
TabAndroid* tab = TabAndroid::FromWebContents(web_contents);
return tab ? tab->GetSyncedTabDelegate() : nullptr;
#else

Powered by Google App Engine
This is Rietveld 408576698