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

Unified Diff: chrome/browser/android/preferences/pref_service_bridge.cc

Issue 1056003003: Policy: Ignore ForceSafeSearch if ForceGoogleSafeSearch or ForceYoutubeSafetyMode are enabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Android Created 5 years, 8 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/preferences/pref_service_bridge.cc
diff --git a/chrome/browser/android/preferences/pref_service_bridge.cc b/chrome/browser/android/preferences/pref_service_bridge.cc
index e16dc42e93c448069aa04cda0afc9ac9d9f1b569..189bab02f82599e387933ff5ea45fbc2ee52fc3c 100644
--- a/chrome/browser/android/preferences/pref_service_bridge.cc
+++ b/chrome/browser/android/preferences/pref_service_bridge.cc
@@ -344,8 +344,8 @@ static jboolean GetCrashReportManaged(JNIEnv* env, jobject obj) {
prefs::kCrashReportingEnabled);
}
-static jboolean GetForceSafeSearch(JNIEnv* env, jobject obj) {
- return GetPrefService()->GetBoolean(prefs::kForceSafeSearch);
+static jboolean GetForceGoogleSafeSearch(JNIEnv* env, jobject obj) {
+ return GetPrefService()->GetBoolean(prefs::kForceGoogleSafeSearch);
}
static jint GetDefaultSupervisedUserFilteringBehavior(JNIEnv* env,

Powered by Google App Engine
This is Rietveld 408576698