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

Issue 2166123002: Ignore tabs with duplicate IDs when merging tab models on cold start (Closed)

Created:
4 years, 5 months ago by Theresa
Modified:
4 years, 5 months ago
Reviewers:
gone
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ignore tabs with duplicate IDs when merging tab models on cold start If a merge is in progress and the Activity gets killed, there could be two tab metadata files that contain some duplicate tab IDs. When merging these two metadata files on application cold start, ignore tabs with duplicate ids. BUG=602498 Committed: https://crrev.com/3a26c14f818c56ed46a426584fc3230ad72c52c7 Cr-Commit-Position: refs/heads/master@{#406992}

Patch Set 1 #

Patch Set 2 : Ignore tabs with duplicate IDs when merging tab models on cold start #

Total comments: 2

Patch Set 3 : Rebase #

Patch Set 4 : Add comments #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -9 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabPersistentStore.java View 1 2 3 4 9 chunks +36 lines, -6 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/tabmodel/TabPersistentStoreTest.java View 1 2 3 4 4 chunks +19 lines, -1 line 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/tabmodel/TestTabModelDirectory.java View 1 chunk +12 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (14 generated)
Theresa
ptal
4 years, 5 months ago (2016-07-20 22:53:29 UTC) #6
gone
lgtm Wrapping my head around the twisty codepaths is taking a lot of effort... For ...
4 years, 5 months ago (2016-07-21 20:53:41 UTC) #9
Theresa
Added some code comments to loadState() and mergeState() and mMergeInProgress/mLoadInProgress https://chromiumcodereview.appspot.com/2166123002/diff/20001/chrome/android/javatests/src/org/chromium/chrome/browser/tabmodel/TabPersistentStoreTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/tabmodel/TabPersistentStoreTest.java (right): https://chromiumcodereview.appspot.com/2166123002/diff/20001/chrome/android/javatests/src/org/chromium/chrome/browser/tabmodel/TabPersistentStoreTest.java#newcode581 ...
4 years, 5 months ago (2016-07-21 21:45:44 UTC) #10
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/2166123002/60001
4 years, 5 months ago (2016-07-21 21:46:20 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/99980) android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, ...
4 years, 5 months ago (2016-07-21 21:50:23 UTC) #15
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/2166123002/80001
4 years, 5 months ago (2016-07-21 22:20:40 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-07-21 23:38:57 UTC) #20
commit-bot: I haz the power
4 years, 5 months ago (2016-07-21 23:40:13 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/3a26c14f818c56ed46a426584fc3230ad72c52c7
Cr-Commit-Position: refs/heads/master@{#406992}

Powered by Google App Engine
This is Rietveld 408576698