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

Issue 613143003: Credential Manager: Return the first valid item from the PasswordStore. (Closed)

Created:
6 years, 2 months ago by Mike West
Modified:
6 years, 2 months ago
Reviewers:
vabr (Chromium)
CC:
chromium-reviews, darin-cc_chromium.org, gcasto+watchlist_chromium.org, jam, mkwst+watchlist_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@yay
Project:
chromium
Visibility:
Public.

Description

Credential Manager: Return the first valid item from the PasswordStore. This patch completes the initial, dead simple, pretty dumb implementation of '.request()'. We poke at the PasswordStore for the origin currently committed in the RenderViewHost's main frame, and if we get anything at all, we return it. We can't expose this implementation to the web for obvious reasons. But it's pefectly wonderful for testing. BUG=400674 Committed: https://crrev.com/e4c5d27cdb953539094774f7b6c57637a2bba4e1 Cr-Commit-Position: refs/heads/master@{#297598}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -11 lines) Patch
M components/password_manager/content/browser/content_credential_manager_dispatcher.cc View 3 chunks +18 lines, -9 lines 0 comments Download
M components/password_manager/content/browser/content_credential_manager_dispatcher_unittest.cc View 5 chunks +31 lines, -2 lines 1 comment Download
M components/password_manager/content/common/credential_manager_types.h View 2 chunks +5 lines, -0 lines 1 comment Download
M components/password_manager/content/common/credential_manager_types.cc View 2 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Mike West
One more, Vaclav. Mind taking a look? It depends on the other two patches you ...
6 years, 2 months ago (2014-09-30 11:26:48 UTC) #2
vabr (Chromium)
LGTM! Vaclav https://codereview.chromium.org/613143003/diff/1/components/password_manager/content/browser/content_credential_manager_dispatcher_unittest.cc File components/password_manager/content/browser/content_credential_manager_dispatcher_unittest.cc (right): https://codereview.chromium.org/613143003/diff/1/components/password_manager/content/browser/content_credential_manager_dispatcher_unittest.cc#newcode135 components/password_manager/content/browser/content_credential_manager_dispatcher_unittest.cc:135: RunAllPendingTasks(); There are multiple copies of the ...
6 years, 2 months ago (2014-09-30 12:16:55 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/613143003/1
6 years, 2 months ago (2014-10-01 04:48:40 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1) as d1d8a680ef7a9d59aaa2e557ebc2e3e410f9dc86
6 years, 2 months ago (2014-10-01 05:43:52 UTC) #6
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/e4c5d27cdb953539094774f7b6c57637a2bba4e1 Cr-Commit-Position: refs/heads/master@{#297598}
6 years, 2 months ago (2014-10-01 05:44:34 UTC) #7
tapted
6 years, 2 months ago (2014-10-01 07:00:41 UTC) #8
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/619033002/ by tapted@chromium.org.

The reason for reverting is: Tests
CredentialManagerOnRequestCredentialWhileRequestPending, 
CredentialManagerOnRequestCredentialWithFullPasswordStore
failing on Linux ASan LSan Tests (1)
link:
http://build.chromium.org/p/chromium.memory/builders/Linux%20ASan%20LSan%20Te...

errors like:
Direct leak of 1056 byte(s) in 1 object(s) allocated from:
    #0 0x52e7cb in operator new(unsigned long)
(/b/build/slave/Linux_ASan_LSan_Tests__1_/build/src/out/Release/components_unittests+0x52e7cb)
    #1 0x21e965f in
password_manager::TestPasswordStore::GetLoginsImpl(autofill::PasswordForm
const&, password_manager::PasswordStore::AuthorizationPromptPolicy,
base::Callback\u003Cvoid (std::__1::vector\u003Cautofill::PasswordForm*,
std::__1::allocator\u003Cautofill::PasswordForm*> > const&)> const&)
components/password_manager/core/browser/test_password_store.cc:103:5
.

Powered by Google App Engine
This is Rietveld 408576698