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

Unified Diff: chrome/browser/android/partner_browser_customizations.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/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
« no previous file with comments | « chrome/browser/android/partner_browser_customizations.h ('k') | chrome/browser/android/preferences/preferences_launcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698