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

Unified Diff: chrome/browser/supervised_user/child_accounts/child_account_service_android.cc

Issue 986303002: Re-enable child account detection, now behind a flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: enum -> int Created 5 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/supervised_user/child_accounts/child_account_service_android.cc
diff --git a/chrome/browser/supervised_user/child_accounts/child_account_service_android.cc b/chrome/browser/supervised_user/child_accounts/child_account_service_android.cc
index b4243c20f671b7b8603b2b5ccb18a90ba7c043a1..8b7c5af28bbd77c8e765a134a151e847ceeb6b18 100644
--- a/chrome/browser/supervised_user/child_accounts/child_account_service_android.cc
+++ b/chrome/browser/supervised_user/child_accounts/child_account_service_android.cc
@@ -9,6 +9,10 @@
#include "chrome/browser/supervised_user/child_accounts/child_account_service_factory.h"
#include "jni/ChildAccountService_jni.h"
+jboolean IsChildAccountDetectionEnabled(JNIEnv* env, jobject obj) {
+ return ChildAccountService::IsChildAccountDetectionEnabled();
+}
+
void OnChildAccountSigninComplete(JNIEnv* env, jobject obj) {
VLOG(1) << "OnChildAccountSigninComplete";
« no previous file with comments | « chrome/browser/supervised_user/child_accounts/child_account_service.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698