Description[Android Refactor] Reland: 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/2935853002
Cr-Commit-Position: refs/heads/master@{#479116}
Committed: https://chromium.googlesource.com/chromium/src/+/6a35c14886cb036360d829b23a295af8fad93406
Patch Set 1 #Patch Set 2 : ABCD #
Total comments: 3
Patch Set 3 : Merge branch 'master' into reland #
Messages
Total messages: 21 (12 generated)
|