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

Issue 1708763003: Fix strict mode violation in TabPersistentStore.cleanupPersistentData() (Closed)

Created:
4 years, 10 months ago by agrieve
Modified:
4 years, 9 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@tab-persist-1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix strict mode violation in TabPersistentStore.cleanupPersistentData() Moved File.list() calls to AsyncTask. BUG=586233 Committed: https://crrev.com/0b3847db495092eaeedf4b37b73f7784a3c12414 Cr-Commit-Position: refs/heads/master@{#382338}

Patch Set 1 #

Total comments: 6

Patch Set 2 : fix test, address commetns #

Total comments: 16

Patch Set 3 : remove AtOrAboveId #

Total comments: 7

Patch Set 4 : comments & rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -122 lines) Patch
M base/android/java/src/org/chromium/base/PathUtils.java View 1 2 3 4 chunks +10 lines, -26 lines 0 comments Download
M base/android/path_utils.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/content/TabContentManager.java View 1 2 3 3 chunks +30 lines, -26 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabPersistentStore.java View 1 2 3 4 chunks +33 lines, -32 lines 0 comments Download
M chrome/browser/android/compositor/tab_content_manager.h View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/android/compositor/tab_content_manager.cc View 1 2 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/browser/android/thumbnail/thumbnail_cache.h View 1 2 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/android/thumbnail/thumbnail_cache.cc View 1 2 2 chunks +0 lines, -23 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 32 (10 generated)
agrieve
🎭🎭
4 years, 10 months ago (2016-02-17 20:29:36 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1708763003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1708763003/1
4 years, 10 months ago (2016-02-17 21:04:29 UTC) #4
Peter Wen
lgtm https://codereview.chromium.org/1708763003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/content/TabContentManager.java File chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/content/TabContentManager.java (right): https://codereview.chromium.org/1708763003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/content/TabContentManager.java#newcode332 chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/content/TabContentManager.java:332: final File thumbnailDirectory = PathUtils.getThumbnailCacheDirectory(mContext); Actually if you ...
4 years, 10 months ago (2016-02-17 21:24:23 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/24635)
4 years, 10 months ago (2016-02-17 23:10:13 UTC) #7
agrieve
https://codereview.chromium.org/1708763003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/content/TabContentManager.java File chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/content/TabContentManager.java (right): https://codereview.chromium.org/1708763003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/content/TabContentManager.java#newcode332 chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/content/TabContentManager.java:332: final File thumbnailDirectory = PathUtils.getThumbnailCacheDirectory(mContext); On 2016/02/17 21:24:23, Peter ...
4 years, 10 months ago (2016-02-18 15:55:38 UTC) #8
gone
https://codereview.chromium.org/1708763003/diff/20001/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/1708763003/diff/20001/base/BUILD.gn#newcode2000 base/BUILD.gn:2000: "//third_party/android_tools:android_support_v13_java", Yeah, I've tried this before. I think newt@ ...
4 years, 10 months ago (2016-02-18 17:09:13 UTC) #9
gone
https://codereview.chromium.org/1708763003/diff/20001/base/android/java/src/org/chromium/base/PathUtils.java File base/android/java/src/org/chromium/base/PathUtils.java (right): https://codereview.chromium.org/1708763003/diff/20001/base/android/java/src/org/chromium/base/PathUtils.java#newcode37 base/android/java/src/org/chromium/base/PathUtils.java:37: private static Object sLazyInitLock = new Object(); private static ...
4 years, 10 months ago (2016-02-18 17:45:35 UTC) #10
agrieve
https://codereview.chromium.org/1708763003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabPersistentStore.java File chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabPersistentStore.java (right): https://codereview.chromium.org/1708763003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabPersistentStore.java#newcode1029 chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabPersistentStore.java:1029: if (TabModelUtils.getTabById(model, data.first) == null) { On 2016/02/18 17:45:35, ...
4 years, 10 months ago (2016-02-19 01:43:26 UTC) #11
gone
https://codereview.chromium.org/1708763003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabPersistentStore.java File chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabPersistentStore.java (right): https://codereview.chromium.org/1708763003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabPersistentStore.java#newcode1029 chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabPersistentStore.java:1029: if (TabModelUtils.getTabById(model, data.first) == null) { On 2016/02/19 01:43:26, ...
4 years, 10 months ago (2016-02-19 23:54:04 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1708763003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1708763003/40001
4 years, 10 months ago (2016-02-23 19:43:40 UTC) #14
agrieve
yfriedman for base/android stamp https://codereview.chromium.org/1708763003/diff/20001/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/1708763003/diff/20001/base/BUILD.gn#newcode2000 base/BUILD.gn:2000: "//third_party/android_tools:android_support_v13_java", On 2016/02/18 17:09:13, dfalcantara ...
4 years, 10 months ago (2016-02-23 21:28:38 UTC) #16
gone
Dave: can you check my comment in TabContentManager? I think you might be the closest ...
4 years, 10 months ago (2016-02-23 22:11:45 UTC) #18
gone
Well, I suppose Dave for all multi-instance wonkiness knowledge.
4 years, 10 months ago (2016-02-23 22:13:26 UTC) #19
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-23 23:13:52 UTC) #21
David Trainor- moved to gerrit
lgtm but I think Dan's right. https://codereview.chromium.org/1708763003/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/content/TabContentManager.java File chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/content/TabContentManager.java (right): https://codereview.chromium.org/1708763003/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/content/TabContentManager.java#newcode319 chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/content/TabContentManager.java:319: public void cleanupPersistentData(final ...
4 years, 10 months ago (2016-02-24 17:19:35 UTC) #22
agrieve
At long last I'm back at this. I've added a comment about the bug with ...
4 years, 9 months ago (2016-03-17 20:05:37 UTC) #23
Yaron
base/android lgtm but didn't look at the other stuff
4 years, 9 months ago (2016-03-18 14:55:51 UTC) #24
Yaron
On 2016/03/18 14:55:51, Yaron wrote: > base/android lgtm but didn't look at the other stuff ...
4 years, 9 months ago (2016-03-18 14:57:03 UTC) #25
gone
lgtm, thanks!
4 years, 9 months ago (2016-03-18 17:28:49 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1708763003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1708763003/60001
4 years, 9 months ago (2016-03-21 17:12:18 UTC) #29
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 9 months ago (2016-03-21 18:37:51 UTC) #30
commit-bot: I haz the power
4 years, 9 months ago (2016-03-21 18:40:14 UTC) #32
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/0b3847db495092eaeedf4b37b73f7784a3c12414
Cr-Commit-Position: refs/heads/master@{#382338}

Powered by Google App Engine
This is Rietveld 408576698