Description[Android Refactor] Merge WebappDataStorage#LAST_USED_UNSET and LAST_USED_INVALID
Having both LAST_USED_UNSET and LAST_USED_INVALID is unnecessary as
- the "last_used" SharedPreference should never be set to LAST_USED_INVALID
- there isn't any logic which checks whether "last_used" is LAST_USED_INVALID
Additionally, this CL renames LAST_USED_INVALID to TIMESTAMP_INVALID as
the getters for several time-based SharedPreferences other than "last_used"
return LAST_USED_INVALID if the preference is unset.
BUG=None
Review-Url: https://codereview.chromium.org/2927723003
Cr-Commit-Position: refs/heads/master@{#478067}
Committed: https://chromium.googlesource.com/chromium/src/+/618fd4f3564ecc43f4f7bff660c22a9dd5fc2309
Patch Set 1 #
Messages
Total messages: 10 (5 generated)
|