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

Issue 306123004: NSSDecryptor::ReadAndParseSignons() - improved password form scheme detection, (Closed)

Created:
6 years, 6 months ago by Lukasz Jagielski
Modified:
6 years, 6 months ago
CC:
benquan, browser-components-watch_chromium.org, chromium-reviews, darin-cc_chromium.org, Dane Wallinga, dyu1, estade+watch_chromium.org, Ilya Sherman, jam, rouslan+autofillwatch_chromium.org, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

NSSDecryptor::ReadAndParseSignons() - improved password form scheme detection, when database row has non-empty realm, assume autofill::PasswordForm::SCHEME_BASIC. BUG=375158 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277393

Patch Set 1 #

Total comments: 2

Patch Set 2 : unittest added #

Total comments: 7

Patch Set 3 : Fixes according to comments. #

Total comments: 8

Patch Set 4 : Minor fixups #

Total comments: 3

Patch Set 5 : Minor fixes #

Patch Set 6 : Compile fix, temporary file fix in unittest #

Total comments: 1

Patch Set 7 : Naming fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -4 lines) Patch
M chrome/utility/importer/firefox_importer_unittest.cc View 1 2 3 4 5 2 chunks +63 lines, -0 lines 0 comments Download
M chrome/utility/importer/firefox_importer_unittest_messages_internal.h View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/utility/importer/firefox_importer_unittest_utils.h View 1 2 3 4 5 6 3 chunks +14 lines, -0 lines 0 comments Download
M chrome/utility/importer/firefox_importer_unittest_utils_mac.cc View 1 2 6 chunks +30 lines, -2 lines 0 comments Download
M chrome/utility/importer/nss_decryptor.cc View 1 2 1 chunk +6 lines, -1 line 0 comments Download
M components/autofill/content/common/autofill_param_traits_macros.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M components/autofill/core/common/password_form.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 30 (0 generated)
Lukasz Jagielski
6 years, 6 months ago (2014-05-30 14:06:00 UTC) #1
Ilya Sherman
Thanks for the fix! Could you please also add test coverage? https://codereview.chromium.org/306123004/diff/1/chrome/utility/importer/nss_decryptor.cc File chrome/utility/importer/nss_decryptor.cc (right): ...
6 years, 6 months ago (2014-05-30 23:17:54 UTC) #2
vabr (Chromium)
Thanks for the fix! +1 to what Ilya said so far. :)
6 years, 6 months ago (2014-06-02 09:09:57 UTC) #3
Lukasz Jagielski
On 2014/05/30 23:17:54, Ilya Sherman wrote: > Thanks for the fix! Could you please also ...
6 years, 6 months ago (2014-06-03 13:16:21 UTC) #4
vabr (Chromium)
Starting from the code you modified, and going up until the caller has a unit ...
6 years, 6 months ago (2014-06-03 13:30:28 UTC) #5
Lukasz Jagielski
6 years, 6 months ago (2014-06-05 09:36:14 UTC) #6
Lukasz Jagielski
On 2014/06/05 09:36:14, ljagielski wrote: I had to write utility function NSSDecryptor::Encode in order to ...
6 years, 6 months ago (2014-06-05 09:39:42 UTC) #7
vabr (Chromium)
Thanks for the tests. It would be indeed good, if you can document how you ...
6 years, 6 months ago (2014-06-05 16:36:19 UTC) #8
Lukasz Jagielski
Fixes applied, please review again.
6 years, 6 months ago (2014-06-09 12:41:16 UTC) #9
vabr (Chromium)
Thank you, I really like how you improved the test, it's clear what it does, ...
6 years, 6 months ago (2014-06-10 12:27:01 UTC) #10
vabr (Chromium)
Actually, Please also wait for approval from isherman@ for the files I approved -- I ...
6 years, 6 months ago (2014-06-10 12:29:04 UTC) #11
Ilya Sherman
LGTM % nits. Thanks! https://codereview.chromium.org/306123004/diff/40001/chrome/utility/importer/firefox_importer_unittest.cc File chrome/utility/importer/firefox_importer_unittest.cc (right): https://codereview.chromium.org/306123004/diff/40001/chrome/utility/importer/firefox_importer_unittest.cc#newcode51 chrome/utility/importer/firefox_importer_unittest.cc:51: // firefox's signons db. We ...
6 years, 6 months ago (2014-06-11 00:19:38 UTC) #12
Lukasz Jagielski
6 years, 6 months ago (2014-06-11 16:08:46 UTC) #13
Lukasz Jagielski
https://codereview.chromium.org/306123004/diff/40001/chrome/utility/importer/firefox_importer_unittest.cc File chrome/utility/importer/firefox_importer_unittest.cc (right): https://codereview.chromium.org/306123004/diff/40001/chrome/utility/importer/firefox_importer_unittest.cc#newcode51 chrome/utility/importer/firefox_importer_unittest.cc:51: // firefox's signons db. We insert two entries into ...
6 years, 6 months ago (2014-06-11 16:10:17 UTC) #14
Lukasz Jagielski
6 years, 6 months ago (2014-06-11 16:10:19 UTC) #15
Ilya Sherman
Daniel, PTAL at the IPC changes. Thanks :)
6 years, 6 months ago (2014-06-11 17:37:47 UTC) #16
dcheng
https://codereview.chromium.org/306123004/diff/60001/components/autofill/content/common/autofill_param_traits_macros.h File components/autofill/content/common/autofill_param_traits_macros.h (right): https://codereview.chromium.org/306123004/diff/60001/components/autofill/content/common/autofill_param_traits_macros.h#newcode26 components/autofill/content/common/autofill_param_traits_macros.h:26: IPC_ENUM_TRAITS(autofill::PasswordForm::Scheme) Please use IPC_ENUM_TRAITS_MAX_VALUE. Also, where is this IPC ...
6 years, 6 months ago (2014-06-12 03:24:20 UTC) #17
Lukasz Jagielski
https://codereview.chromium.org/306123004/diff/60001/components/autofill/content/common/autofill_param_traits_macros.h File components/autofill/content/common/autofill_param_traits_macros.h (right): https://codereview.chromium.org/306123004/diff/60001/components/autofill/content/common/autofill_param_traits_macros.h#newcode26 components/autofill/content/common/autofill_param_traits_macros.h:26: IPC_ENUM_TRAITS(autofill::PasswordForm::Scheme) There's a bunch of IPC messages using autofill::PasswordForm ...
6 years, 6 months ago (2014-06-12 07:52:38 UTC) #18
dcheng
On 2014/06/12 at 07:52:38, ljagielski wrote: > https://codereview.chromium.org/306123004/diff/60001/components/autofill/content/common/autofill_param_traits_macros.h > File components/autofill/content/common/autofill_param_traits_macros.h (right): > > https://codereview.chromium.org/306123004/diff/60001/components/autofill/content/common/autofill_param_traits_macros.h#newcode26 ...
6 years, 6 months ago (2014-06-12 19:07:09 UTC) #19
Lukasz Jagielski
The CQ bit was checked by ljagielski@opera.com
6 years, 6 months ago (2014-06-13 07:27:37 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ljagielski@opera.com/306123004/80001
6 years, 6 months ago (2014-06-13 07:29:35 UTC) #21
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_clang_dbg on tryserver.chromium ...
6 years, 6 months ago (2014-06-13 12:00:17 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-13 12:52:59 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_rel/builds/41468)
6 years, 6 months ago (2014-06-13 12:53:01 UTC) #24
Lukasz Jagielski
Hi, PTAL at fixes. Thanks, Łukasz
6 years, 6 months ago (2014-06-13 15:44:47 UTC) #25
Ilya Sherman
LGTM w/ a nit. Thanks. https://codereview.chromium.org/306123004/diff/100001/chrome/utility/importer/firefox_importer_unittest_utils.h File chrome/utility/importer/firefox_importer_unittest_utils.h (right): https://codereview.chromium.org/306123004/diff/100001/chrome/utility/importer/firefox_importer_unittest_utils.h#newcode94 chrome/utility/importer/firefox_importer_unittest_utils.h:94: std::vector<autofill::PasswordForm> out_vec; nit: Please ...
6 years, 6 months ago (2014-06-13 21:57:03 UTC) #26
Lukasz Jagielski
6 years, 6 months ago (2014-06-16 07:59:14 UTC) #27
Lukasz Jagielski
The CQ bit was checked by ljagielski@opera.com
6 years, 6 months ago (2014-06-16 07:59:47 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ljagielski@opera.com/306123004/120001
6 years, 6 months ago (2014-06-16 08:00:18 UTC) #29
commit-bot: I haz the power
6 years, 6 months ago (2014-06-16 10:17:31 UTC) #30
Message was sent while issue was closed.
Change committed as 277393

Powered by Google App Engine
This is Rietveld 408576698