| 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 d41df80e2d93ddc268f060985666afa9ced0c856..e02f6f087ce6df0008dbe58bfb5bd6f23698e4f4 100644
|
| --- a/chrome/browser/history/chrome_history_backend_client.cc
|
| +++ b/chrome/browser/history/chrome_history_backend_client.cc
|
| @@ -12,14 +12,14 @@
|
| #include "content/public/browser/child_process_security_policy.h"
|
| #include "url/gurl.h"
|
|
|
| -#if BUILDFLAG(ANDROID_JAVA_UI)
|
| +#if defined(OS_ANDROID)
|
| #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 BUILDFLAG(ANDROID_JAVA_UI)
|
| +#if defined(OS_ANDROID)
|
| namespace {
|
| const base::FilePath::CharType kAndroidCacheFilename[] =
|
| FILE_PATH_LITERAL("AndroidCache");
|
| @@ -78,7 +78,7 @@ bool ChromeHistoryBackendClient::IsWebSafe(const GURL& url) {
|
| url.scheme());
|
| }
|
|
|
| -#if BUILDFLAG(ANDROID_JAVA_UI)
|
| +#if defined(OS_ANDROID)
|
| void ChromeHistoryBackendClient::OnHistoryBackendInitialized(
|
| history::HistoryBackend* history_backend,
|
| history::HistoryDatabase* history_database,
|
| @@ -99,4 +99,4 @@ void ChromeHistoryBackendClient::OnHistoryBackendDestroyed(
|
| const base::FilePath& history_dir) {
|
| sql::Connection::Delete(history_dir.Append(kAndroidCacheFilename));
|
| }
|
| -#endif // BUILDFLAG(ANDROID_JAVA_UI)
|
| +#endif // defined(OS_ANDROID)
|
|
|