| Index: chrome/browser/prefs/incognito_mode_prefs.cc
|
| diff --git a/chrome/browser/prefs/incognito_mode_prefs.cc b/chrome/browser/prefs/incognito_mode_prefs.cc
|
| index 8d62abaadd245f88ef5e54f031714e68845fc86e..d5de301c87cc1da62520eed3693dd1a4ea6a89a2 100644
|
| --- a/chrome/browser/prefs/incognito_mode_prefs.cc
|
| +++ b/chrome/browser/prefs/incognito_mode_prefs.cc
|
| @@ -31,9 +31,9 @@
|
| #include "base/win/windows_version.h"
|
| #endif // OS_WIN
|
|
|
| -#if BUILDFLAG(ANDROID_JAVA_UI)
|
| +#if defined(OS_ANDROID)
|
| #include "chrome/browser/android/chrome_application.h"
|
| -#endif // BUILDFLAG(ANDROID_JAVA_UI)
|
| +#endif // defined(OS_ANDROID)
|
|
|
| using content::BrowserThread;
|
|
|
| @@ -210,7 +210,7 @@ void IncognitoModePrefs::InitializePlatformParentalControls() {
|
| bool IncognitoModePrefs::ArePlatformParentalControlsEnabled() {
|
| #if defined(OS_WIN)
|
| return PlatformParentalControlsValue::GetInstance()->is_enabled();
|
| -#elif BUILDFLAG(ANDROID_JAVA_UI)
|
| +#elif defined(OS_ANDROID)
|
| return chrome::android::ChromeApplication::AreParentalControlsEnabled();
|
| #else
|
| return false;
|
|
|