Commit 8a1fe95c authored by Tanmoy Mollik's avatar Tanmoy Mollik Committed by Commit Bot

[Android] Import tests from SyncAndServicesSettingsTest to GoogleServicesSettingsTest

If MOBILE_IDENTITY_CONSISTENCY is on sections related to autofill
assistant, safe browsing and metrics settings is moved from
SyncAndServicesSettings to GoogleServicesSettings page.

This cl imports tests regarding autofill assistant, safe browsing and
metrics settings to GoogleServicesSettingsTest as SyncAndServicesSetting
is going to be deprecated in the future. This cl does not add any new
tests.

Bug: 1141414
Change-Id: Iaed8047067c5342c33c309351b2d2cb3d7dd37dc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2499481
Commit-Queue: Tanmoy Mollik <triploblastic@chromium.org>
Reviewed-by: default avatarMarc Treib <treib@chromium.org>
Cr-Commit-Position: refs/heads/master@{#821743}
parent e6a92b9e
......@@ -59,15 +59,19 @@ public class GoogleServicesSettings
public static final String PREF_ALLOW_SIGNIN = "allow_signin";
private static final String PREF_SEARCH_SUGGESTIONS = "search_suggestions";
private static final String PREF_NAVIGATION_ERROR = "navigation_error";
private static final String PREF_SAFE_BROWSING = "safe_browsing";
private static final String PREF_PASSWORD_LEAK_DETECTION = "password_leak_detection";
private static final String PREF_SAFE_BROWSING_SCOUT_REPORTING =
"safe_browsing_scout_reporting";
@VisibleForTesting
public static final String PREF_SAFE_BROWSING = "safe_browsing";
@VisibleForTesting
public static final String PREF_PASSWORD_LEAK_DETECTION = "password_leak_detection";
@VisibleForTesting
public static final String PREF_SAFE_BROWSING_SCOUT_REPORTING = "safe_browsing_scout_reporting";
private static final String PREF_USAGE_AND_CRASH_REPORTING = "usage_and_crash_reports";
private static final String PREF_URL_KEYED_ANONYMIZED_DATA = "url_keyed_anonymized_data";
private static final String PREF_CONTEXTUAL_SEARCH = "contextual_search";
private static final String PREF_AUTOFILL_ASSISTANT = "autofill_assistant";
private static final String PREF_METRICS_SETTINGS = "metrics_settings";
@VisibleForTesting
public static final String PREF_AUTOFILL_ASSISTANT = "autofill_assistant";
@VisibleForTesting
public static final String PREF_METRICS_SETTINGS = "metrics_settings";
private final PrefService mPrefService = UserPrefs.get(Profile.getLastUsedRegularProfile());
private final PrivacyPreferencesManager mPrivacyPrefManager =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment