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

Issue 886793002: Credential Manager: Introduce PendingRequestTask. (Closed)

Created:
5 years, 10 months ago by Mike West
Modified:
5 years, 10 months ago
Reviewers:
vabr (Chromium)
CC:
chromium-reviews, darin-cc_chromium.org, gcasto+watchlist_chromium.org, jam, mkwst+watchlist-passwords_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@notifysignedout
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Credential Manager: Introduce PendingRequestTask. Currently, CredentialManagerDispatcher is a PasswordStoreObserver, and handles responses from `request()` directly. We can't do that going forward, as we also need to handle responses when dealing with (at least) `notifySignedOut()`. This patch splits the password store observer functionality out into a new `PendingRequestTask` class, with the intent of introducing `PendingSignedOutTask`, etc. classes in the future. BUG=450581 R=vabr@chromium.org Committed: https://crrev.com/a5b7b8897f016a6f4c12c726eb061e3953e9fbe6 Cr-Commit-Position: refs/heads/master@{#314154}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Feedback. #

Total comments: 2

Patch Set 3 : Feedback. #

Patch Set 4 : TODO #

Patch Set 5 : UnscopedVectorizing. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -82 lines) Patch
M components/password_manager/content/browser/credential_manager_dispatcher.h View 1 2 3 4 chunks +11 lines, -10 lines 0 comments Download
M components/password_manager/content/browser/credential_manager_dispatcher.cc View 1 2 3 4 3 chunks +84 lines, -72 lines 0 comments Download

Messages

Total messages: 17 (3 generated)
Mike West
WDYT, Vaclav? The new class doesn't seem substantial enough to split out into a separate ...
5 years, 10 months ago (2015-01-29 13:07:27 UTC) #1
Mike West
(Sorry, shouldn't have thrown it to the bots. It relies on https://codereview.chromium.org/879913004/, which hasn't landed ...
5 years, 10 months ago (2015-01-29 14:03:07 UTC) #2
vabr (Chromium)
Hi Mike, I left a couple of comments. I don't see a problem with moving ...
5 years, 10 months ago (2015-01-29 14:04:35 UTC) #3
Mike West
Mind taking another look?
5 years, 10 months ago (2015-01-30 12:14:37 UTC) #4
vabr (Chromium)
LGTM with comments. Thanks! Vaclav https://codereview.chromium.org/886793002/diff/20001/components/password_manager/content/browser/credential_manager_dispatcher.cc File components/password_manager/content/browser/credential_manager_dispatcher.cc (right): https://codereview.chromium.org/886793002/diff/20001/components/password_manager/content/browser/credential_manager_dispatcher.cc#newcode37 components/password_manager/content/browser/credential_manager_dispatcher.cc:37: for (const GURL& origin ...
5 years, 10 months ago (2015-01-30 12:54:19 UTC) #5
Mike West
https://codereview.chromium.org/886793002/diff/20001/components/password_manager/content/browser/credential_manager_dispatcher.cc#newcode37 > components/password_manager/content/browser/credential_manager_dispatcher.cc:37: > for (const GURL& origin : request_federations) > If this is possible ...
5 years, 10 months ago (2015-02-02 08:56:20 UTC) #6
vabr (Chromium)
> The IPC system is unhappy with an attempt to remove `const`. :( Fair enough. ...
5 years, 10 months ago (2015-02-02 09:15:45 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/886793002/60001
5 years, 10 months ago (2015-02-02 09:23:21 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/20448)
5 years, 10 months ago (2015-02-02 10:13:01 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/886793002/80001
5 years, 10 months ago (2015-02-02 15:37:50 UTC) #13
Mike West
Unscopedvectorizing the code; it's going to require changes to the UI code to accept a ...
5 years, 10 months ago (2015-02-02 15:38:32 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 10 months ago (2015-02-02 16:17:58 UTC) #15
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/a5b7b8897f016a6f4c12c726eb061e3953e9fbe6 Cr-Commit-Position: refs/heads/master@{#314154}
5 years, 10 months ago (2015-02-02 16:19:09 UTC) #16
vabr (Chromium)
5 years, 10 months ago (2015-02-02 16:52:34 UTC) #17
Message was sent while issue was closed.
On 2015/02/02 15:38:32, Mike West wrote:
> Unscopedvectorizing the code; it's going to require changes to the UI code to
> accept a ScopedVector, otherwise the PasswordForm items are destructed before
> they're used in the bubble.
> 
> Added a TODO for a subsequent CL.

Don't worry, this is being taken care of already in
https://codereview.chromium.org/866983003/.

Cheers,
Vaclav

Powered by Google App Engine
This is Rietveld 408576698