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

Unified Diff: chrome/browser/bookmarks/chrome_bookmark_client.h

Issue 2619603002: Remove android_java_ui as it is not used (Closed)
Patch Set: Rebase to master 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/bookmarks/chrome_bookmark_client.h
diff --git a/chrome/browser/bookmarks/chrome_bookmark_client.h b/chrome/browser/bookmarks/chrome_bookmark_client.h
index 6c57c86079923c96969214156e4a1fbdf8d5fcf4..98b74ce1534fdd6d3e0aceaa6da412a8610babe2 100644
--- a/chrome/browser/bookmarks/chrome_bookmark_client.h
+++ b/chrome/browser/bookmarks/chrome_bookmark_client.h
@@ -10,9 +10,6 @@
#include "base/deferred_sequenced_task_runner.h"
#include "base/macros.h"
-#include "build/build_config.h"
-#include "build/buildflag.h"
-#include "chrome/common/features.h"
#include "components/bookmarks/browser/bookmark_client.h"
class GURL;
@@ -25,7 +22,7 @@ class BookmarkPermanentNode;
class ManagedBookmarkService;
}
-#if BUILDFLAG(ANDROID_JAVA_UI)
+#if defined(OS_ANDROID)
namespace offline_pages {
class OfflinePageBookmarkObserver;
}
@@ -65,7 +62,7 @@ class ChromeBookmarkClient : public bookmarks::BookmarkClient {
// be null during testing.
bookmarks::ManagedBookmarkService* managed_bookmark_service_;
-#if BUILDFLAG(ANDROID_JAVA_UI)
+#if defined(OS_ANDROID)
// Owns the observer used by Offline Page listening to Bookmark Model events.
std::unique_ptr<offline_pages::OfflinePageBookmarkObserver>
offline_page_observer_;
« no previous file with comments | « chrome/browser/bookmarks/bookmark_model_factory.cc ('k') | chrome/browser/bookmarks/chrome_bookmark_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698