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

Issue 23653052: [rAc] Fetch username concurrently with fetching Wallet items. (Closed)

Created:
7 years, 3 months ago by Ilya Sherman
Modified:
7 years, 2 months ago
CC:
chromium-reviews, benquan, Dane Wallinga, dyu1, estade+watch_chromium.org, Albert Bodenhamer, rouslan+autofillwatch_chromium.org
Visibility:
Public.

Description

[rAc] Fetch username concurrently with fetching Wallet items. BUG=270859 TEST=Autofill dialog should still work correctly, but a little bit faster. R=groby@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=225413

Patch Set 1 #

Total comments: 3

Patch Set 2 : Fix tests #

Patch Set 3 : Revert spurious diff #

Patch Set 4 : Rebase #

Patch Set 5 : More fixes, including to checked in production code... #

Total comments: 4

Patch Set 6 : Rebase #

Patch Set 7 : Fix NULL-checks and reset()s #

Patch Set 8 : Still show the sign-in link (but disabled) while fetching Wallet items #

Patch Set 9 : Fix tests to not assume the account chooser menu model always exists. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -24 lines) Patch
M chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_controller_impl.h View 1 2 3 3 chunks +12 lines, -2 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc View 1 2 3 4 5 6 7 8 14 chunks +46 lines, -13 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc View 1 2 3 4 5 6 7 8 24 chunks +37 lines, -9 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Ilya Sherman
7 years, 3 months ago (2013-09-20 02:53:30 UTC) #1
Ilya Sherman
Please hold off on this review... I need to figure out why all the unit ...
7 years, 3 months ago (2013-09-20 06:49:56 UTC) #2
groby-ooo-7-16
https://chromiumcodereview.appspot.com/23653052/diff/1/chrome/browser/ui/cocoa/autofill/autofill_overlay_controller.mm File chrome/browser/ui/cocoa/autofill/autofill_overlay_controller.mm (right): https://chromiumcodereview.appspot.com/23653052/diff/1/chrome/browser/ui/cocoa/autofill/autofill_overlay_controller.mm#newcode112 chrome/browser/ui/cocoa/autofill/autofill_overlay_controller.mm:112: //DCHECK([label isKindOfClass:[NSTextView class]]); That is not good, because we ...
7 years, 3 months ago (2013-09-20 16:07:13 UTC) #3
groby-ooo-7-16
https://chromiumcodereview.appspot.com/23653052/diff/1/chrome/browser/ui/cocoa/autofill/autofill_overlay_controller.mm File chrome/browser/ui/cocoa/autofill/autofill_overlay_controller.mm (right): https://chromiumcodereview.appspot.com/23653052/diff/1/chrome/browser/ui/cocoa/autofill/autofill_overlay_controller.mm#newcode112 chrome/browser/ui/cocoa/autofill/autofill_overlay_controller.mm:112: //DCHECK([label isKindOfClass:[NSTextView class]]); And by "created as labels" I ...
7 years, 3 months ago (2013-09-20 16:10:19 UTC) #4
Ilya Sherman
Evan, if you're around, could you review this CL? If not, I'll ask Rachel to ...
7 years, 3 months ago (2013-09-20 19:29:53 UTC) #5
Ilya Sherman
Rachel, please take a look -- I think I've finally squashed all the bugs...
7 years, 3 months ago (2013-09-21 01:08:37 UTC) #6
Evan Stade
lgtm https://codereview.chromium.org/23653052/diff/24001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://codereview.chromium.org/23653052/diff/24001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode993 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:993: username_fetcher_.reset(new wallet::WalletSigninHelper( DCHECK(!username_fetcher_) https://codereview.chromium.org/23653052/diff/24001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode1009 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:1009: username_fetcher_.reset(); I don't ...
7 years, 3 months ago (2013-09-23 18:13:44 UTC) #7
Ilya Sherman
https://codereview.chromium.org/23653052/diff/24001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://codereview.chromium.org/23653052/diff/24001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode993 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:993: username_fetcher_.reset(new wallet::WalletSigninHelper( On 2013/09/23 18:13:44, Evan Stade wrote: > ...
7 years, 3 months ago (2013-09-24 00:50:58 UTC) #8
Evan Stade
I think MenuModelForAccountChooser() is now broken, because it will return a menu model when we ...
7 years, 3 months ago (2013-09-24 01:24:04 UTC) #9
Ilya Sherman
On 2013/09/24 01:24:04, Evan Stade wrote: > I think MenuModelForAccountChooser() is now broken, because it ...
7 years, 2 months ago (2013-09-24 23:06:46 UTC) #10
Evan Stade
lgtm
7 years, 2 months ago (2013-09-25 18:24:14 UTC) #11
groby-ooo-7-16
rubberstamp LGTM :)
7 years, 2 months ago (2013-09-25 18:54:39 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/isherman@chromium.org/23653052/42001
7 years, 2 months ago (2013-09-25 22:19:50 UTC) #13
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=81460
7 years, 2 months ago (2013-09-26 04:16:15 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/isherman@chromium.org/23653052/77001
7 years, 2 months ago (2013-09-26 06:02:12 UTC) #15
commit-bot: I haz the power
7 years, 2 months ago (2013-09-26 09:19:36 UTC) #16
Message was sent while issue was closed.
Change committed as 225413

Powered by Google App Engine
This is Rietveld 408576698