Commit 5bc9ec5d authored by Boris Sazonov's avatar Boris Sazonov Committed by Commit Bot

[Android] Remove dead code from SyncCustomizationFragment

This CL removes a field and a method that are no longer used.

Bug: None
Change-Id: I510e1cfa0a864f41618f00152c426399647b716c
Reviewed-on: https://chromium-review.googlesource.com/1072090Reviewed-by: default avatarBernhard Bauer <bauerb@chromium.org>
Commit-Queue: Boris Sazonov <bsazonov@chromium.org>
Cr-Commit-Position: refs/heads/master@{#561825}
parent 0a850b21
......@@ -116,18 +116,6 @@ public class SyncCustomizationFragment extends PreferenceFragment
private boolean mIsEngineInitialized;
private boolean mIsPassphraseRequired;
@VisibleForTesting
public static final String[] PREFS_TO_SAVE = {
PREFERENCE_SYNC_EVERYTHING,
PREFERENCE_SYNC_AUTOFILL,
PREFERENCE_SYNC_BOOKMARKS,
PREFERENCE_SYNC_OMNIBOX,
PREFERENCE_SYNC_PASSWORDS,
PREFERENCE_SYNC_RECENT_TABS,
PREFERENCE_SYNC_SETTINGS,
PREFERENCE_PAYMENTS_INTEGRATION
};
private static final String DASHBOARD_URL = "https://www.google.com/settings/chrome/sync";
private SwitchPreference mSyncEverything;
......@@ -269,16 +257,6 @@ public class SyncCustomizationFragment extends PreferenceFragment
return false;
}
/**
* Returns the sync action bar switch to enable/disable sync.
*
* @return the mActionBarSwitch
*/
@VisibleForTesting
public ChromeSwitchPreference getSyncSwitchPreference() {
return mSyncSwitchPreference;
}
@Override
public void onStart() {
super.onStart();
......
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