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

Issue 2340743004: Fix document mode migration again (Closed)

Created:
4 years, 3 months ago by Theresa
Modified:
4 years, 3 months ago
Reviewers:
gone
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix document mode migration again The document mode migration code was changed in 4804efe6387351c7802a2e9f34afe84e7ccbe7fe to skip document mode migration if a shared preference was not set. On older versions of Chrome, that shared preference wasn't set even though the user was in document mode. Migration was skipped and all tabs were lost. Revert to the old logic of using another shared preference to help determine if the user is in document mode. BUG=646146 Committed: https://crrev.com/0a7922abb655a17a03ee108190b017b9a72ab899 Cr-Commit-Position: refs/heads/master@{#418722}

Patch Set 1 #

Patch Set 2 : Fix document mode migration again #

Patch Set 3 : Add comment #

Patch Set 4 : Check for file existence #

Patch Set 5 : Fix document mode migration again #

Patch Set 6 : try, finally #

Patch Set 7 : Fix document mode migration again #

Patch Set 8 : Use TabbedModePersistencePolicy.getStateFileName() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -6 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/tabmodel/DocumentModeAssassin.java View 1 2 3 4 5 6 7 4 chunks +53 lines, -6 lines 0 comments Download

Messages

Total messages: 34 (26 generated)
Theresa
ptal
4 years, 3 months ago (2016-09-14 21:30:08 UTC) #5
gone
/me sighs. lgtm
4 years, 3 months ago (2016-09-14 21:34:44 UTC) #7
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/2340743004/20001
4 years, 3 months ago (2016-09-14 21:37:03 UTC) #11
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/2340743004/40001
4 years, 3 months ago (2016-09-14 21:39:18 UTC) #16
gone
lgtm, but you probably want to use a try finally
4 years, 3 months ago (2016-09-14 22:41:46 UTC) #22
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/2340743004/140001
4 years, 3 months ago (2016-09-15 00:14:59 UTC) #31
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 3 months ago (2016-09-15 00:20:55 UTC) #32
commit-bot: I haz the power
4 years, 3 months ago (2016-09-15 00:22:45 UTC) #34
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/0a7922abb655a17a03ee108190b017b9a72ab899
Cr-Commit-Position: refs/heads/master@{#418722}

Powered by Google App Engine
This is Rietveld 408576698