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

Issue 1838333003: Add fallback for DocumentModeAssassin (Closed)

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

Description

Add fallback for DocumentModeAssassin * Adds a fallback to the DocumentModeAssassin so that it forces the user into tabbed mode without their data if migration keeps crashing. * Refactors how the DocumentModeAssassin makes calls to get TabModels and Files in order to make more of it testable. * Adds more tests for the DocumentModeAssassin for testing the full pipeline and various ways it can be skipped. * Length of time to show the UpgradeActivity is upped to 1 second to avoid animation jank. BUG=582539 Committed: https://crrev.com/1d1b05264afca07e10687e9c79f91df0ff1f2a72 Cr-Commit-Position: refs/heads/master@{#384395}

Patch Set 1 #

Patch Set 2 : Fix animations #

Patch Set 3 : Remove Incognito notification explicitly. #

Total comments: 6

Patch Set 4 : Comments #

Patch Set 5 : Stupid proguard #

Messages

Total messages: 15 (7 generated)
gone
Whole lotta testing. Main functional change is the one in DocumentModeAssassin#migrateFromDocumentToTabbedMode(), which now gives up ...
4 years, 8 months ago (2016-03-30 00:40:02 UTC) #2
Ted C
lgtm w/ a couple small comments https://codereview.chromium.org/1838333003/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/DocumentModeAssassin.java File chrome/android/java/src/org/chromium/chrome/browser/tabmodel/DocumentModeAssassin.java (right): https://codereview.chromium.org/1838333003/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/DocumentModeAssassin.java#newcode157 chrome/android/java/src/org/chromium/chrome/browser/tabmodel/DocumentModeAssassin.java:157: SharedPreferences prefs = ...
4 years, 8 months ago (2016-03-31 03:38:41 UTC) #3
gone
https://chromiumcodereview.appspot.com/1838333003/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/DocumentModeAssassin.java File chrome/android/java/src/org/chromium/chrome/browser/tabmodel/DocumentModeAssassin.java (right): https://chromiumcodereview.appspot.com/1838333003/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/DocumentModeAssassin.java#newcode157 chrome/android/java/src/org/chromium/chrome/browser/tabmodel/DocumentModeAssassin.java:157: SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext()); On 2016/03/31 03:38:41, Ted C ...
4 years, 8 months ago (2016-03-31 18:07:20 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1838333003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1838333003/60001
4 years, 8 months ago (2016-03-31 19:01:38 UTC) #7
commit-bot: I haz the power
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/46144)
4 years, 8 months ago (2016-03-31 20:34:35 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1838333003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1838333003/80001
4 years, 8 months ago (2016-03-31 20:37:25 UTC) #12
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-03-31 21:25:54 UTC) #13
commit-bot: I haz the power
4 years, 8 months ago (2016-03-31 21:28:53 UTC) #15
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/1d1b05264afca07e10687e9c79f91df0ff1f2a72
Cr-Commit-Position: refs/heads/master@{#384395}

Powered by Google App Engine
This is Rietveld 408576698