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

Unified Diff: chrome/browser/prefs/incognito_mode_prefs.cc

Issue 2768023002: Move remaining @CalledByNative methods out of ChromeApplication. (Closed)
Patch Set: Use DISALLOW_IMPLICIT_CONSTRUCTORS instead of DISALLOW_COPY_AND_ASSIGN Created 3 years, 9 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/prefs/incognito_mode_prefs.cc
diff --git a/chrome/browser/prefs/incognito_mode_prefs.cc b/chrome/browser/prefs/incognito_mode_prefs.cc
index 852698bf6f2e2740fb9d406cb7d9bd70ae64f384..db21af53d7a9daa98f7a4804bb9c2317af6c0487 100644
--- a/chrome/browser/prefs/incognito_mode_prefs.cc
+++ b/chrome/browser/prefs/incognito_mode_prefs.cc
@@ -32,7 +32,7 @@
#endif // OS_WIN
#if defined(OS_ANDROID)
-#include "chrome/browser/android/chrome_application.h"
+#include "chrome/browser/android/partner_browser_customizations.h"
#endif // defined(OS_ANDROID)
using content::BrowserThread;
@@ -213,7 +213,7 @@ bool IncognitoModePrefs::ArePlatformParentalControlsEnabled() {
#if defined(OS_WIN)
return PlatformParentalControlsValue::GetInstance()->is_enabled();
#elif defined(OS_ANDROID)
- return chrome::android::ChromeApplication::AreParentalControlsEnabled();
+ return chrome::android::PartnerBrowserCustomizations::IsIncognitoDisabled();
#else
return false;
#endif

Powered by Google App Engine
This is Rietveld 408576698