[Unity][Android] Clean up SyncAndServicesPreferences
This CL performs several minor cleanups in SyncAndServicesPreferences without any changes to the behavior: 1. Reorder constants, fields and calls to have a consistent order for preferences. 2. Consistently use PREF_ prefix for preference keys. 3. Use mSync prefix for preferences that control sync data types. 4. Rename mSyncOmnibox to mSyncHistory to match the title string. 5. Replace onPreferenceClick and if chain with separate listener objects. Bug: 814728 Change-Id: I60fda93757fa160e7c70b98925486332880c92d5 Reviewed-on: https://chromium-review.googlesource.com/1185200Reviewed-by:Theresa <twellington@chromium.org> Commit-Queue: Boris Sazonov <bsazonov@chromium.org> Cr-Commit-Position: refs/heads/master@{#585513}
Showing
This diff is collapsed.
Please register or sign in to comment