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

Issue 1698043006: Created the dialog offering the user to merge their account data or keep it (Closed)

Created:
4 years, 10 months ago by PEConn
Modified:
4 years, 9 months ago
CC:
chromium-reviews, tim+watch_chromium.org, tfarina, maxbogue+watch_chromium.org, plaree+watch_chromium.org, zea+watch_chromium.org
Base URL:
maybelle.lon.corp.google.com:/usr/local/google/code/clankium/src@sync_settings
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

(formerly: Created the dialog offering the user to merge their account data or keep it) This CL contains two changes to the Switching Sync Account flows. - It adds the ability to switch sync accounts, presenting a dialog offering the user to merge their account data or keep it separate. - It upgrades the account signin from preferences from using the ChooseAccountFragment to using the AccountSigninView (formerly the AccountFirstRunView). In addition it: - Renames AccountFirstRunView to AccountSigninView (since it is not used only in the first run). - Renames functions in the AccountSigninView from using SignIn to Signin. The following user actions were modified: - Signin_AddAccountToDevice - Signin_ImportDataPrompt_Cancel - Signin_ImportDataPrompt_DontImport - Signin_ImportDataPrompt_ImportData - Signin_Signin_FromSettings - Signin_Undo_Signin BUG=557786 Committed: https://crrev.com/bd705aeab0594a1790478e335edee728f32fb026 Cr-Commit-Position: refs/heads/master@{#377769}

Patch Set 1 #

Total comments: 14

Patch Set 2 : #

Total comments: 23

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Total comments: 35

Patch Set 5 : #

Patch Set 6 : Rebased onto Master #

Patch Set 7 : #

Patch Set 8 : #

Total comments: 63

Patch Set 9 : #

Total comments: 26

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+839 lines, -1270 lines) Patch
M chrome/android/java/AndroidManifest.xml View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
A + chrome/android/java/res/layout/account_signin_view.xml View 1 2 3 4 5 6 7 8 9 8 chunks +12 lines, -12 lines 0 comments Download
A chrome/android/java/res/layout/confirm_import_sync_data.xml View 1 2 3 4 5 6 7 8 9 1 chunk +42 lines, -0 lines 0 comments Download
D chrome/android/java/res/layout/confirm_sync_account_change_account.xml View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -21 lines 0 comments Download
D chrome/android/java/res/layout/fre_choose_account.xml View 1 1 chunk +0 lines, -153 lines 0 comments Download
M chrome/android/java/res/layout/fre_data_reduction_proxy.xml View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/res/layout/fre_tosanduma.xml View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
A chrome/android/java/res/layout/radio_button_with_description.xml View 1 2 3 4 5 6 7 8 9 1 chunk +32 lines, -0 lines 0 comments Download
M chrome/android/java/res/values/attrs.xml View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/android/java/res/values/colors.xml View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -1 line 0 comments Download
M chrome/android/java/res/values/dimens.xml View 1 2 3 4 5 6 7 8 9 1 chunk +8 lines, -4 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkSigninActivity.java View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/firstrun/AccountFirstRunFragment.java View 1 2 3 4 5 6 7 8 3 chunks +7 lines, -6 lines 2 comments Download
D chrome/android/java/src/org/chromium/chrome/browser/firstrun/AccountFirstRunView.java View 1 2 3 4 5 1 chunk +0 lines, -616 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/firstrun/DataReductionProxyView.java View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/firstrun/ImageCarousel.java View 1 2 3 4 5 6 7 8 9 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/firstrun/TosAndUmaView.java View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ntp/RecentTabsPromoView.java View 1 2 3 4 5 6 7 8 9 5 chunks +12 lines, -5 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ntp/RecentTabsRowAdapter.java View 1 2 3 4 1 chunk +1 line, -3 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/MainPreferences.java View 1 2 3 4 5 6 7 8 3 chunks +14 lines, -91 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/SyncedAccountPreference.java View 1 2 3 chunks +11 lines, -3 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/signin/AccountSigninActivity.java View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +118 lines, -0 lines 1 comment Download
A + chrome/android/java/src/org/chromium/chrome/browser/signin/AccountSigninView.java View 1 2 3 4 5 6 7 8 9 23 chunks +88 lines, -33 lines 0 comments Download
D chrome/android/java/src/org/chromium/chrome/browser/signin/ConfirmAccountChangeFragment.java View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -114 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/signin/SigninManager.java View 1 2 3 4 5 6 7 8 9 6 chunks +7 lines, -42 lines 3 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/signin/SigninPromoScreen.java View 1 2 3 4 5 6 7 8 5 chunks +12 lines, -6 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/sync/SyncAccountSwitcher.java View 1 2 3 4 5 6 7 8 9 1 chunk +81 lines, -0 lines 0 comments Download
D chrome/android/java/src/org/chromium/chrome/browser/sync/ui/ChooseAccountFragment.java View 1 1 chunk +0 lines, -63 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/sync/ui/ConfirmImportSyncDataDialog.java View 1 2 3 4 5 6 7 8 9 1 chunk +208 lines, -0 lines 1 comment Download
M chrome/android/java/src/org/chromium/chrome/browser/sync/ui/SyncCustomizationFragment.java View 1 2 3 4 5 6 7 8 9 3 chunks +9 lines, -2 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/widget/RadioButtonWithDescription.java View 1 2 3 4 5 6 7 8 1 chunk +107 lines, -0 lines 0 comments Download
M chrome/android/java/strings/android_chrome_strings.grd View 1 2 3 4 5 6 7 8 9 3 chunks +53 lines, -36 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/preferences/PreferencesTest.java View 1 2 3 3 chunks +0 lines, -51 lines 0 comments Download

Messages

Total messages: 79 (31 generated)
PEConn
4 years, 10 months ago (2016-02-17 12:58:24 UTC) #2
Bernhard Bauer
https://codereview.chromium.org/1698043006/diff/1/chrome/android/java/src/org/chromium/chrome/browser/sync/ui/ConfirmImportSyncDataFragment.java File chrome/android/java/src/org/chromium/chrome/browser/sync/ui/ConfirmImportSyncDataFragment.java (right): https://codereview.chromium.org/1698043006/diff/1/chrome/android/java/src/org/chromium/chrome/browser/sync/ui/ConfirmImportSyncDataFragment.java#newcode97 chrome/android/java/src/org/chromium/chrome/browser/sync/ui/ConfirmImportSyncDataFragment.java:97: assert listener == null; Should this be |mListener|?
4 years, 10 months ago (2016-02-17 13:24:56 UTC) #3
May
https://codereview.chromium.org/1698043006/diff/1/chrome/android/java/src/org/chromium/chrome/browser/sync/SyncAccountSwitcher.java File chrome/android/java/src/org/chromium/chrome/browser/sync/SyncAccountSwitcher.java (right): https://codereview.chromium.org/1698043006/diff/1/chrome/android/java/src/org/chromium/chrome/browser/sync/SyncAccountSwitcher.java#newcode85 chrome/android/java/src/org/chromium/chrome/browser/sync/SyncAccountSwitcher.java:85: PrefServiceBridge.getInstance().clearBrowsingData(this, SYNC_DATA_TYPES); Don't you still need to sign in ...
4 years, 10 months ago (2016-02-17 14:22:12 UTC) #4
PEConn
https://codereview.chromium.org/1698043006/diff/1/chrome/android/java/src/org/chromium/chrome/browser/sync/SyncAccountSwitcher.java File chrome/android/java/src/org/chromium/chrome/browser/sync/SyncAccountSwitcher.java (right): https://codereview.chromium.org/1698043006/diff/1/chrome/android/java/src/org/chromium/chrome/browser/sync/SyncAccountSwitcher.java#newcode85 chrome/android/java/src/org/chromium/chrome/browser/sync/SyncAccountSwitcher.java:85: PrefServiceBridge.getInstance().clearBrowsingData(this, SYNC_DATA_TYPES); On 2016/02/17 14:22:11, May wrote: > Don't ...
4 years, 10 months ago (2016-02-17 17:16:48 UTC) #5
newt (away)
sending this to yusufo@ to take a look
4 years, 10 months ago (2016-02-17 21:55:17 UTC) #7
PEConn
The description for this CL has been updated. https://codereview.chromium.org/1698043006/diff/1/chrome/android/java/strings/android_chrome_strings.grd File chrome/android/java/strings/android_chrome_strings.grd (right): https://codereview.chromium.org/1698043006/diff/1/chrome/android/java/strings/android_chrome_strings.grd#newcode1072 chrome/android/java/strings/android_chrome_strings.grd:1072: Replace ...
4 years, 10 months ago (2016-02-18 17:20:49 UTC) #9
Yusuf
https://codereview.chromium.org/1698043006/diff/20001/chrome/android/java/res/layout/account_signin_view.xml File chrome/android/java/res/layout/account_signin_view.xml (left): https://codereview.chromium.org/1698043006/diff/20001/chrome/android/java/res/layout/account_signin_view.xml#oldcode10 chrome/android/java/res/layout/account_signin_view.xml:10: android:id="@+id/fre_account_layout" let's get rid of the fre mentions in ...
4 years, 10 months ago (2016-02-18 19:16:17 UTC) #11
PEConn
https://codereview.chromium.org/1698043006/diff/20001/chrome/android/java/res/layout/account_signin_view.xml File chrome/android/java/res/layout/account_signin_view.xml (left): https://codereview.chromium.org/1698043006/diff/20001/chrome/android/java/res/layout/account_signin_view.xml#oldcode10 chrome/android/java/res/layout/account_signin_view.xml:10: android:id="@+id/fre_account_layout" On 2016/02/18 19:16:16, Yusuf wrote: > let's get ...
4 years, 10 months ago (2016-02-19 18:10:11 UTC) #12
Yusuf
https://codereview.chromium.org/1698043006/diff/20001/ui/android/java/src/org/chromium/ui/widget/RadioButtonWithDescription.java File ui/android/java/src/org/chromium/ui/widget/RadioButtonWithDescription.java (right): https://codereview.chromium.org/1698043006/diff/20001/ui/android/java/src/org/chromium/ui/widget/RadioButtonWithDescription.java#newcode33 ui/android/java/src/org/chromium/ui/widget/RadioButtonWithDescription.java:33: init(null); On 2016/02/19 18:10:11, PEConn1 wrote: > On 2016/02/18 ...
4 years, 10 months ago (2016-02-19 18:16:30 UTC) #13
newt (away)
Just wanted to weigh in on the RadioButtonWithDescription discussion. https://codereview.chromium.org/1698043006/diff/20001/ui/android/java/src/org/chromium/ui/widget/RadioButtonWithDescription.java File ui/android/java/src/org/chromium/ui/widget/RadioButtonWithDescription.java (right): https://codereview.chromium.org/1698043006/diff/20001/ui/android/java/src/org/chromium/ui/widget/RadioButtonWithDescription.java#newcode33 ui/android/java/src/org/chromium/ui/widget/RadioButtonWithDescription.java:33: ...
4 years, 10 months ago (2016-02-19 19:47:13 UTC) #14
PEConn
I added gogerald to find places to add user actions. I decided to stick with ...
4 years, 10 months ago (2016-02-22 18:13:43 UTC) #16
Yusuf
https://codereview.chromium.org/1698043006/diff/60001/chrome/android/java/res/values/dimens.xml File chrome/android/java/res/values/dimens.xml (right): https://codereview.chromium.org/1698043006/diff/60001/chrome/android/java/res/values/dimens.xml#newcode177 chrome/android/java/res/values/dimens.xml:177: <dimen name="signin_button_padding">12dp</dimen> just curious, are the fre_ dimensions still ...
4 years, 10 months ago (2016-02-22 19:40:10 UTC) #17
gogerald1
Please also help add "Signin_Declined_From*" as you start in CL 1693383002 for all onAccountSelectionCancelled. The ...
4 years, 10 months ago (2016-02-22 23:32:19 UTC) #18
PEConn
https://codereview.chromium.org/1698043006/diff/60001/chrome/android/java/res/values/dimens.xml File chrome/android/java/res/values/dimens.xml (right): https://codereview.chromium.org/1698043006/diff/60001/chrome/android/java/res/values/dimens.xml#newcode177 chrome/android/java/res/values/dimens.xml:177: <dimen name="signin_button_padding">12dp</dimen> On 2016/02/22 19:40:09, Yusuf wrote: > just ...
4 years, 10 months ago (2016-02-23 15:01:54 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1698043006/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1698043006/80001
4 years, 10 months ago (2016-02-23 15:03:24 UTC) #22
commit-bot: I haz the power
Dry run: CLs for remote refs other than refs/pending/heads/master must contain NOTRY=true and NOPRESUBMIT=true in ...
4 years, 10 months ago (2016-02-23 15:03:25 UTC) #24
gogerald1
https://codereview.chromium.org/1698043006/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunSignInProcessor.java File chrome/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunSignInProcessor.java (right): https://codereview.chromium.org/1698043006/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunSignInProcessor.java#newcode87 chrome/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunSignInProcessor.java:87: signinManager.signIn(accountName, null, new SignInCallback() { On 2016/02/23 15:01:53, PEConn1 ...
4 years, 10 months ago (2016-02-23 16:57:19 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1698043006/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1698043006/100001
4 years, 10 months ago (2016-02-24 11:37:41 UTC) #27
PEConn
Ping - I'm hoping to get this committed by Friday (to get in 50). https://codereview.chromium.org/1698043006/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunSignInProcessor.java ...
4 years, 10 months ago (2016-02-24 11:37:51 UTC) #28
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/26508)
4 years, 10 months ago (2016-02-24 12:05:47 UTC) #30
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1698043006/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1698043006/120001
4 years, 10 months ago (2016-02-24 12:53:50 UTC) #32
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/26540)
4 years, 10 months ago (2016-02-24 13:35:23 UTC) #34
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1698043006/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1698043006/140001
4 years, 10 months ago (2016-02-24 13:57:31 UTC) #36
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-24 14:49:14 UTC) #38
Yusuf
lgtm with a single nit. Thanks a lot! https://codereview.chromium.org/1698043006/diff/140001/chrome/android/java/src/org/chromium/chrome/browser/widget/RadioButtonWithDescription.java File chrome/android/java/src/org/chromium/chrome/browser/widget/RadioButtonWithDescription.java (right): https://codereview.chromium.org/1698043006/diff/140001/chrome/android/java/src/org/chromium/chrome/browser/widget/RadioButtonWithDescription.java#newcode88 chrome/android/java/src/org/chromium/chrome/browser/widget/RadioButtonWithDescription.java:88: * ...
4 years, 10 months ago (2016-02-24 16:41:40 UTC) #39
newt (away)
Mostly small comments, and a few suggestions for future changes. The main important comment is ...
4 years, 10 months ago (2016-02-25 06:25:54 UTC) #40
PEConn
The reason that ConfirmImportSyncDataFragment was called separately from the 4 different classes wasn't to do ...
4 years, 10 months ago (2016-02-25 14:19:52 UTC) #41
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1698043006/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1698043006/160001
4 years, 10 months ago (2016-02-25 14:20:57 UTC) #43
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/136118) mac_chromium_compile_dbg_ng on ...
4 years, 10 months ago (2016-02-25 14:26:22 UTC) #45
Bernhard Bauer
https://codereview.chromium.org/1698043006/diff/160001/chrome/android/java/AndroidManifest.xml File chrome/android/java/AndroidManifest.xml (right): https://codereview.chromium.org/1698043006/diff/160001/chrome/android/java/AndroidManifest.xml#newcode266 chrome/android/java/AndroidManifest.xml:266: android:theme="@style/MainTheme"> Nit: Indent two more spaces. https://codereview.chromium.org/1698043006/diff/160001/chrome/android/java/src/org/chromium/chrome/browser/ntp/RecentTabsPromoView.java File chrome/android/java/src/org/chromium/chrome/browser/ntp/RecentTabsPromoView.java ...
4 years, 10 months ago (2016-02-25 14:52:43 UTC) #46
XAX
4 years, 10 months ago (2016-02-25 16:21:37 UTC) #48
newt (away)
lgtm after comments. As a next step, I think we should unify the "interactive" sign-in ...
4 years, 10 months ago (2016-02-25 18:01:32 UTC) #50
PEConn
Yeah, it would be nice to get everything separated out logically. I think the issue ...
4 years, 10 months ago (2016-02-25 20:45:12 UTC) #52
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1698043006/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1698043006/180001
4 years, 10 months ago (2016-02-25 20:45:22 UTC) #53
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1698043006/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1698043006/200001
4 years, 10 months ago (2016-02-25 21:27:53 UTC) #55
newt (away)
On 2016/02/25 20:45:12, PEConn1 wrote: > Yeah, it would be nice to get everything separated ...
4 years, 10 months ago (2016-02-25 21:46:27 UTC) #56
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/27358) android_clang_dbg_recipe on ...
4 years, 10 months ago (2016-02-25 21:59:00 UTC) #61
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1698043006/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1698043006/220001
4 years, 10 months ago (2016-02-25 22:03:42 UTC) #64
Eli Wald
On 2016/02/25 20:45:12, PEConn1 wrote: > Yeah, it would be nice to get everything separated ...
4 years, 10 months ago (2016-02-25 22:38:57 UTC) #65
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/187220)
4 years, 10 months ago (2016-02-26 00:12:50 UTC) #67
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1698043006/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1698043006/220001
4 years, 10 months ago (2016-02-26 00:33:32 UTC) #69
gogerald1
https://codereview.chromium.org/1698043006/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunSignInProcessor.java File chrome/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunSignInProcessor.java (right): https://codereview.chromium.org/1698043006/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunSignInProcessor.java#newcode87 chrome/android/java/src/org/chromium/chrome/browser/firstrun/FirstRunSignInProcessor.java:87: signinManager.signIn(accountName, null, new SignInCallback() { On 2016/02/24 11:37:51, PEConn1 ...
4 years, 10 months ago (2016-02-26 01:02:04 UTC) #70
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 10 months ago (2016-02-26 02:05:36 UTC) #72
commit-bot: I haz the power
Patchset 12 (id:??) landed as https://crrev.com/bd705aeab0594a1790478e335edee728f32fb026 Cr-Commit-Position: refs/heads/master@{#377769}
4 years, 10 months ago (2016-02-26 02:07:54 UTC) #74
skym
https://codereview.chromium.org/1698043006/diff/220001/chrome/android/java/src/org/chromium/chrome/browser/signin/SigninManager.java File chrome/android/java/src/org/chromium/chrome/browser/signin/SigninManager.java (left): https://codereview.chromium.org/1698043006/diff/220001/chrome/android/java/src/org/chromium/chrome/browser/signin/SigninManager.java#oldcode398 chrome/android/java/src/org/chromium/chrome/browser/signin/SigninManager.java:398: if (SigninInvestigator.investigate(mSignInState.account.name) I'm concerned that by changing the ordering ...
4 years, 10 months ago (2016-02-26 20:22:58 UTC) #76
aelias_OOO_until_Jul13
A revert of this CL (patchset #12 id:220001) has been created in https://codereview.chromium.org/1745563002/ by aelias@chromium.org. ...
4 years, 10 months ago (2016-02-26 21:06:06 UTC) #77
PEConn
https://codereview.chromium.org/1698043006/diff/220001/chrome/android/java/src/org/chromium/chrome/browser/signin/SigninManager.java File chrome/android/java/src/org/chromium/chrome/browser/signin/SigninManager.java (left): https://codereview.chromium.org/1698043006/diff/220001/chrome/android/java/src/org/chromium/chrome/browser/signin/SigninManager.java#oldcode398 chrome/android/java/src/org/chromium/chrome/browser/signin/SigninManager.java:398: if (SigninInvestigator.investigate(mSignInState.account.name) On 2016/02/26 20:22:57, skym wrote: > I'm ...
4 years, 9 months ago (2016-03-03 18:23:25 UTC) #78
skym
4 years, 9 months ago (2016-03-03 18:54:51 UTC) #79
Message was sent while issue was closed.
https://codereview.chromium.org/1698043006/diff/220001/chrome/android/java/sr...
File
chrome/android/java/src/org/chromium/chrome/browser/signin/SigninManager.java
(left):

https://codereview.chromium.org/1698043006/diff/220001/chrome/android/java/sr...
chrome/android/java/src/org/chromium/chrome/browser/signin/SigninManager.java:398:
if (SigninInvestigator.investigate(mSignInState.account.name)
On 2016/03/03 18:23:25, PEConn1 wrote:
> On 2016/02/26 20:22:57, skym wrote:
> > I'm concerned that by changing the ordering of the signin flow, you've
> > introduced an error. The signin investigator logic uses the account
id/account
> > name mapping that is updated by the account seeding step. If you don't wait
> for
> > account seeding to complete, then your data is potentially invalid/stale.
> 
> Can you expand on this? I can see that the signin investigator relies on
> prefs::kGoogleServicesLastUsername and prefs::kGoogleServicesLastAccountId,
but
> I had assumed they wouldn't need updating during this flow.

Sorry for not being very clear. The problem isn't the prefs, they don't involve
lookups. The problem is that SigninInvestigatorAndroid uses the
AccountTrackerService to get the GAIA id from the email for the account that's
currently being used to sign in. If we haven't ever seeded for this account,
then we fallback to email comparisons which could be wrong. If we haven't seeded
since this account's email address was changed, we potentially display the wrong
email in the warning message. If we haven't seeded since this account's email
address was change AND we don't have a last-signed-in-obfuscated-gaia-id
(legacy), our fallback to email comparison will use the wrong email.

Powered by Google App Engine
This is Rietveld 408576698