Index: chrome/browser/android/partner_browser_customizations.cc |
diff --git a/chrome/browser/android/partner_browser_customizations.cc b/chrome/browser/android/partner_browser_customizations.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fb53ca5960b67f176936f9dc1fb311f685e3f68c |
--- /dev/null |
+++ b/chrome/browser/android/partner_browser_customizations.cc |
@@ -0,0 +1,19 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "chrome/browser/android/partner_browser_customizations.h" |
+ |
+#include "base/android/jni_android.h" |
+#include "jni/PartnerBrowserCustomizations_jni.h" |
+ |
+namespace chrome { |
+namespace android { |
+ |
+bool PartnerBrowserCustomizations::IsIncognitoDisabled() { |
+ return Java_PartnerBrowserCustomizations_isIncognitoDisabled( |
+ base::android::AttachCurrentThread()); |
+} |
+ |
+} // namespace android |
+} // namespace chrome |