Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Issue 2927723003: [Android Refactor] Merge WebappDataStorage#LAST_USED_UNSET and LAST_USED_INVALID (Closed)

Created:
3 years, 6 months ago by pkotwicz
Modified:
3 years, 6 months ago
Reviewers:
dominickn
CC:
chromium-reviews, dominickn+watch_chromium.org, pkotwicz+watch_chromium.org, zpeng+watch_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

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)
pkotwicz
Dominick, can you please take a look?
3 years, 6 months ago (2017-06-08 04:55:58 UTC) #2
dominickn
lgtm assuming it passes the CQ
3 years, 6 months ago (2017-06-08 05:22:44 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2927723003/1
3 years, 6 months ago (2017-06-08 18:12:16 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/618fd4f3564ecc43f4f7bff660c22a9dd5fc2309
3 years, 6 months ago (2017-06-08 20:11:30 UTC) #9
jbudorick
3 years, 6 months ago (2017-06-09 01:24:52 UTC) #10
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2928993004/ by jbudorick@chromium.org.

The reason for reverting is: Spec revert due to significantly increased
flakiness in one of the WebApkUpdateManagerTests:
https://bugs.chromium.org/p/chromium/issues/detail?id=731485.

Powered by Google App Engine
This is Rietveld 408576698