| Index: chrome/browser/history/chrome_history_backend_client.cc
|
| diff --git a/chrome/browser/history/chrome_history_backend_client.cc b/chrome/browser/history/chrome_history_backend_client.cc
|
| index 1d0e841c315f2015a73b917bff1ba169bdb90b1b..d847bfbd4c41f0190bdedaf27ab92a4c57c01998 100644
|
| --- a/chrome/browser/history/chrome_history_backend_client.cc
|
| +++ b/chrome/browser/history/chrome_history_backend_client.cc
|
| @@ -9,14 +9,14 @@
|
| #include "components/version_info/version_info.h"
|
| #include "url/gurl.h"
|
|
|
| -#if defined(OS_ANDROID)
|
| +#if defined(ANDROID_JAVA_UI)
|
| #include "base/files/file_path.h"
|
| #include "base/logging.h"
|
| #include "chrome/browser/history/android/android_provider_backend.h"
|
| #include "components/history/core/browser/history_backend.h"
|
| #endif
|
|
|
| -#if defined(OS_ANDROID)
|
| +#if defined(ANDROID_JAVA_UI)
|
| namespace {
|
| const base::FilePath::CharType kAndroidCacheFilename[] =
|
| FILE_PATH_LITERAL("AndroidCache");
|
| @@ -70,7 +70,7 @@ bool ChromeHistoryBackendClient::ShouldReportDatabaseError() {
|
| channel != version_info::Channel::BETA;
|
| }
|
|
|
| -#if defined(OS_ANDROID)
|
| +#if defined(ANDROID_JAVA_UI)
|
| void ChromeHistoryBackendClient::OnHistoryBackendInitialized(
|
| history::HistoryBackend* history_backend,
|
| history::HistoryDatabase* history_database,
|
| @@ -91,4 +91,4 @@ void ChromeHistoryBackendClient::OnHistoryBackendDestroyed(
|
| const base::FilePath& history_dir) {
|
| sql::Connection::Delete(history_dir.Append(kAndroidCacheFilename));
|
| }
|
| -#endif // defined(OS_ANDROID)
|
| +#endif // defined(ANDROID_JAVA_UI)
|
|
|