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

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

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
« no previous file with comments | « chrome/browser/bookmarks/chrome_bookmark_client.h ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/bookmarks/chrome_bookmark_client.cc
diff --git a/chrome/browser/bookmarks/chrome_bookmark_client.cc b/chrome/browser/bookmarks/chrome_bookmark_client.cc
index 48f8a8bc7af0befa284988778e2bcf9cb7efb7b4..818380be037f35c9e6e36c86e71a4c7dc446d92a 100644
--- a/chrome/browser/bookmarks/chrome_bookmark_client.cc
+++ b/chrome/browser/bookmarks/chrome_bookmark_client.cc
@@ -6,7 +6,6 @@
#include "base/logging.h"
#include "base/memory/ptr_util.h"
-#include "build/build_config.h"
#include "chrome/browser/favicon/favicon_service_factory.h"
#include "chrome/browser/history/history_service_factory.h"
#include "chrome/browser/profiles/profile.h"
@@ -20,7 +19,7 @@
#include "components/history/core/browser/url_database.h"
#include "content/public/browser/user_metrics.h"
-#if BUILDFLAG(ANDROID_JAVA_UI)
+#if defined(OS_ANDROID)
#include "chrome/browser/android/offline_pages/offline_page_bookmark_observer.h"
#endif
@@ -36,7 +35,7 @@ void ChromeBookmarkClient::Init(bookmarks::BookmarkModel* model) {
if (managed_bookmark_service_)
managed_bookmark_service_->BookmarkModelCreated(model);
-#if BUILDFLAG(ANDROID_JAVA_UI)
+#if defined(OS_ANDROID)
offline_page_observer_ =
base::MakeUnique<offline_pages::OfflinePageBookmarkObserver>(profile_);
model->AddObserver(offline_page_observer_.get());
« no previous file with comments | « chrome/browser/bookmarks/chrome_bookmark_client.h ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698