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

Issue 2042033003: Displaying human-readable Android credentials on Android OS. (Closed)

Created:
4 years, 6 months ago by dozsa
Modified:
4 years, 6 months ago
CC:
chromium-reviews, gcasto+watchlist_chromium.org, vabr+watchlistpasswordmanager_chromium.org, mkwst+watchlist-passwords_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Displaying human-readable Android credentials on Android OS. Note: link_url from GetShownOriginAndLinkUrl is not being used. BUG=617094 Committed: https://crrev.com/127c33456ca196306f48b024a049f0a33699fe1e Cr-Commit-Position: refs/heads/master@{#399453}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Moved SplitByDotAndReverse to password_ui_utils #

Total comments: 17

Patch Set 3 : Added unit test for SplitByDotAndReverse, addressed style issues. #

Total comments: 10

Patch Set 4 : Replaced hard-coded English string with translated string, fixed a few other minor issues. #

Total comments: 1

Patch Set 5 : Included <algorithm> in password_manager_presenter in order to solve trybot issue. #

Patch Set 6 : Added #include <algorithm> to the files it was missing from. #

Total comments: 23

Patch Set 7 : Introduce ModifyOrigin in password_ui_utils #

Total comments: 10

Patch Set 8 : Address minor comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -18 lines) Patch
M chrome/browser/android/password_ui_view_android.cc View 1 2 3 4 5 6 7 3 chunks +32 lines, -4 lines 0 comments Download
M chrome/browser/ui/passwords/password_manager_presenter.cc View 1 2 3 4 5 6 7 4 chunks +3 lines, -14 lines 0 comments Download
M components/password_manager/core/browser/password_ui_utils.h View 1 2 3 4 5 6 7 2 chunks +8 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_ui_utils.cc View 1 2 3 4 5 6 7 2 chunks +17 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_ui_utils_unittest.cc View 1 2 3 4 5 6 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 53 (20 generated)
vabr (Chromium)
Thanks for the CL! I have two comments, please take a look. Addressing the second ...
4 years, 6 months ago (2016-06-08 07:51:34 UTC) #2
vabr (Chromium)
Thank you for the improvements! I have some more comments, 2 here and the rest ...
4 years, 6 months ago (2016-06-08 09:04:05 UTC) #3
dozsa
https://codereview.chromium.org/2042033003/diff/1/chrome/browser/android/password_ui_view_android.cc File chrome/browser/android/password_ui_view_android.cc (right): https://codereview.chromium.org/2042033003/diff/1/chrome/browser/android/password_ui_view_android.cc#newcode16 chrome/browser/android/password_ui_view_android.cc:16: #include "chrome/browser/android/password_ui_view_android.h" On 2016/06/08 07:51:33, vabr (Chromium) wrote: > ...
4 years, 6 months ago (2016-06-08 11:22:30 UTC) #6
vabr (Chromium)
Looks even better! Just some minor comments below. Also, please keep a blank line in ...
4 years, 6 months ago (2016-06-08 11:46:21 UTC) #7
dozsa
https://codereview.chromium.org/2042033003/diff/40001/chrome/browser/android/password_ui_view_android.cc File chrome/browser/android/password_ui_view_android.cc (right): https://codereview.chromium.org/2042033003/diff/40001/chrome/browser/android/password_ui_view_android.cc#newcode28 chrome/browser/android/password_ui_view_android.cc:28: std::string GetHumanReadableOrigin(autofill::PasswordForm form) { On 2016/06/08 11:46:21, vabr (Chromium) ...
4 years, 6 months ago (2016-06-08 12:20:18 UTC) #9
vabr (Chromium)
LGTM, thanks for the patch! I'm happy to help you select the reviewer for chrome/browser/android/password_ui_view_android.cc ...
4 years, 6 months ago (2016-06-08 13:17:28 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2042033003/60001
4 years, 6 months ago (2016-06-08 13:18:16 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/149762) linux_chromium_chromeos_ozone_rel_ng on ...
4 years, 6 months ago (2016-06-08 13:33:14 UTC) #14
vabr (Chromium)
https://codereview.chromium.org/2042033003/diff/60001/components/password_manager/core/browser/password_ui_utils.cc File components/password_manager/core/browser/password_ui_utils.cc (right): https://codereview.chromium.org/2042033003/diff/60001/components/password_manager/core/browser/password_ui_utils.cc#newcode32 components/password_manager/core/browser/password_ui_utils.cc:32: std::reverse(parts.begin(), parts.end()); Looking at the trybots, we need #include ...
4 years, 6 months ago (2016-06-08 13:51:59 UTC) #16
dozsa
4 years, 6 months ago (2016-06-08 14:07:00 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2042033003/80001
4 years, 6 months ago (2016-06-08 14:07:40 UTC) #19
vabr (Chromium)
miguelg@ -- please review chrome/browser/android/password_ui_view_android.cc
4 years, 6 months ago (2016-06-08 14:11:21 UTC) #20
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/149787) chromeos_x86-generic_chromium_compile_only_ng on ...
4 years, 6 months ago (2016-06-08 14:18:43 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2042033003/100001
4 years, 6 months ago (2016-06-08 14:23:28 UTC) #24
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-08 15:27:36 UTC) #26
dozsa
@bauerb - could you please review this CL?
4 years, 6 months ago (2016-06-13 08:29:53 UTC) #28
vabr (Chromium)
On 2016/06/13 08:29:53, dozsa wrote: > @bauerb - could you please review this CL? Actually, ...
4 years, 6 months ago (2016-06-13 08:34:15 UTC) #29
chromium-reviews
Thank you for the correction, Vaclav! Yes, I only need approval for that file. Best, ...
4 years, 6 months ago (2016-06-13 08:35:21 UTC) #30
Bernhard Bauer
Description nit: The name of the OS is just "Android", not "Android OS". Also, try ...
4 years, 6 months ago (2016-06-13 09:34:59 UTC) #31
vabr (Chromium)
https://codereview.chromium.org/2042033003/diff/100001/chrome/browser/android/password_ui_view_android.cc File chrome/browser/android/password_ui_view_android.cc (right): https://codereview.chromium.org/2042033003/diff/100001/chrome/browser/android/password_ui_view_android.cc#newcode52 chrome/browser/android/password_ui_view_android.cc:52: l10n_util::GetStringUTF8(IDS_PASSWORDS_ANDROID_URI_SUFFIX); On 2016/06/13 09:34:59, Bernhard Bauer wrote: > Manually ...
4 years, 6 months ago (2016-06-13 09:45:21 UTC) #32
Bernhard Bauer
https://codereview.chromium.org/2042033003/diff/100001/components/password_manager/core/browser/password_ui_utils_unittest.cc File components/password_manager/core/browser/password_ui_utils_unittest.cc (right): https://codereview.chromium.org/2042033003/diff/100001/components/password_manager/core/browser/password_ui_utils_unittest.cc#newcode98 components/password_manager/core/browser/password_ui_utils_unittest.cc:98: const base::StringPiece input; Just FYI: In unit tests we ...
4 years, 6 months ago (2016-06-13 09:55:07 UTC) #33
vabr (Chromium)
https://codereview.chromium.org/2042033003/diff/100001/components/password_manager/core/browser/password_ui_utils_unittest.cc File components/password_manager/core/browser/password_ui_utils_unittest.cc (right): https://codereview.chromium.org/2042033003/diff/100001/components/password_manager/core/browser/password_ui_utils_unittest.cc#newcode98 components/password_manager/core/browser/password_ui_utils_unittest.cc:98: const base::StringPiece input; On 2016/06/13 09:55:07, Bernhard Bauer wrote: ...
4 years, 6 months ago (2016-06-13 10:01:03 UTC) #34
Bernhard Bauer
https://codereview.chromium.org/2042033003/diff/100001/components/password_manager/core/browser/password_ui_utils_unittest.cc File components/password_manager/core/browser/password_ui_utils_unittest.cc (right): https://codereview.chromium.org/2042033003/diff/100001/components/password_manager/core/browser/password_ui_utils_unittest.cc#newcode98 components/password_manager/core/browser/password_ui_utils_unittest.cc:98: const base::StringPiece input; On 2016/06/13 10:01:03, vabr (Chromium) wrote: ...
4 years, 6 months ago (2016-06-13 10:34:03 UTC) #35
dozsa
https://codereview.chromium.org/2042033003/diff/100001/chrome/browser/android/password_ui_view_android.cc File chrome/browser/android/password_ui_view_android.cc (right): https://codereview.chromium.org/2042033003/diff/100001/chrome/browser/android/password_ui_view_android.cc#newcode46 chrome/browser/android/password_ui_view_android.cc:46: &human_readable_origin[ On 2016/06/13 09:34:59, Bernhard Bauer wrote: > This ...
4 years, 6 months ago (2016-06-13 12:36:18 UTC) #36
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2042033003/120001
4 years, 6 months ago (2016-06-13 12:36:53 UTC) #38
vabr (Chromium)
Still LGTM, with some comments. Thanks! Vaclav https://codereview.chromium.org/2042033003/diff/120001/components/password_manager/core/browser/password_ui_utils.cc File components/password_manager/core/browser/password_ui_utils.cc (right): https://codereview.chromium.org/2042033003/diff/120001/components/password_manager/core/browser/password_ui_utils.cc#newcode27 components/password_manager/core/browser/password_ui_utils.cc:27: std::string SplitByDotAndReverse(base::StringPiece ...
4 years, 6 months ago (2016-06-13 13:03:36 UTC) #39
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-13 13:34:14 UTC) #41
dozsa
https://codereview.chromium.org/2042033003/diff/120001/components/password_manager/core/browser/password_ui_utils.cc File components/password_manager/core/browser/password_ui_utils.cc (right): https://codereview.chromium.org/2042033003/diff/120001/components/password_manager/core/browser/password_ui_utils.cc#newcode27 components/password_manager/core/browser/password_ui_utils.cc:27: std::string SplitByDotAndReverse(base::StringPiece host) { On 2016/06/13 13:03:36, vabr (Chromium) ...
4 years, 6 months ago (2016-06-13 13:51:37 UTC) #42
Bernhard Bauer
LGTM!
4 years, 6 months ago (2016-06-13 14:01:29 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2042033003/140001
4 years, 6 months ago (2016-06-13 14:06:55 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2042033003/140001
4 years, 6 months ago (2016-06-13 14:07:46 UTC) #49
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 6 months ago (2016-06-13 15:28:30 UTC) #51
commit-bot: I haz the power
4 years, 6 months ago (2016-06-13 15:31:13 UTC) #53
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/127c33456ca196306f48b024a049f0a33699fe1e
Cr-Commit-Position: refs/heads/master@{#399453}

Powered by Google App Engine
This is Rietveld 408576698