Index: chrome/android/java/src/org/chromium/chrome/browser/ChromiumApplication.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ChromiumApplication.java b/chrome/android/java/src/org/chromium/chrome/browser/ChromiumApplication.java |
index 2cc9b8667fe5e256241e8eb08abfb7d0ebe9a714..d8a594bbf805b4ba6819cd4a8801371cf1867724 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/ChromiumApplication.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ChromiumApplication.java |
@@ -23,4 +23,11 @@ public abstract class ChromiumApplication extends ContentApplication { |
@CalledByNative |
protected abstract void showTermsOfServiceDialog(); |
+ |
+ /** |
+ * @return Whether parental controls are enabled. Returning true will disable |
+ * incognito mode. |
+ */ |
+ @CalledByNative |
+ protected abstract boolean areParentalControlsEnabled(); |
} |