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

Issue 2448433003: Finish ChromeTabbedActivity if its tabs have been merged into another instance (Closed)

Created:
4 years, 1 month ago by Theresa
Modified:
4 years, 1 month ago
Reviewers:
gone
CC:
chromium-reviews, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Finish ChromeTabbedActivity if its tabs have been merged into another instance If Chrome's process is restarted while two ChromeTabbedActivity instances are running it is possible to end up in an odd state where tabs are merged into one instance and the task for the second instance is still running. This second task doesn't have an activity associated with it yet, so we cannot kill the task when we merge into the first instance. To work around this, when the second instance is resumed it is finished immediately if its tabs have been merged into another instance. BUG=657418 Committed: https://crrev.com/73988c5b3c8f504ad9372b07c9a493660ca286cf Cr-Commit-Position: refs/heads/master@{#427441}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Finish ChromeTabbedActivity if its tabs have been merged into another instance #

Patch Set 4 : Use #isStartedUpCorrectly #

Patch Set 5 : Remove extra blank lines #

Total comments: 4

Patch Set 6 : Changes from dfalcantara@ review #

Patch Set 7 : Fix typo #

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

Messages

Total messages: 29 (22 generated)
Theresa
ptal
4 years, 1 month ago (2016-10-24 23:26:05 UTC) #10
gone
https://codereview.chromium.org/2448433003/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java File chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java (right): https://codereview.chromium.org/2448433003/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java#newcode1100 chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java:1100: // If tabs were merged into a different ChromeTabbedActivity ...
4 years, 1 month ago (2016-10-25 18:33:10 UTC) #17
Theresa
https://codereview.chromium.org/2448433003/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java File chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java (right): https://codereview.chromium.org/2448433003/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java#newcode1100 chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java:1100: // If tabs were merged into a different ChromeTabbedActivity ...
4 years, 1 month ago (2016-10-25 18:57:40 UTC) #22
gone
lgtm
4 years, 1 month ago (2016-10-25 19:01:30 UTC) #23
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/2448433003/120001
4 years, 1 month ago (2016-10-25 19:03:09 UTC) #26
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 1 month ago (2016-10-25 19:35:34 UTC) #27
commit-bot: I haz the power
4 years, 1 month ago (2016-10-25 20:00:05 UTC) #29
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/73988c5b3c8f504ad9372b07c9a493660ca286cf
Cr-Commit-Position: refs/heads/master@{#427441}

Powered by Google App Engine
This is Rietveld 408576698