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

Issue 1755053002: CREDENTIAL: Serialize 'PasswordCredential' objects with "" as the federation. (Closed)

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

Description

CREDENTIAL: Serialize 'PasswordCredential' objects with "" as the federation. After https://codereview.chromium.org/1723583004, we serialize `PasswordCredential` objects with a `federation_url` of "null" (as "null" is the serialization of an empty/unique origin. Neither Android nor Vasilii like this. This patch special-cases things to ensure that Android (and Vasilii) remains as happy as can be. BUG=591310 R=vasilii@chromium.org Committed: https://crrev.com/45bf9a3d72344f1b7a6f28e0bc1c5536339db4a8 Cr-Commit-Position: refs/heads/master@{#378734}

Patch Set 1 #

Total comments: 2

Patch Set 2 : vasilii #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -6 lines) Patch
M chrome/browser/password_manager/native_backend_gnome_x.cc View 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/password_manager/native_backend_gnome_x_unittest.cc View 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/password_manager/native_backend_kwallet_x.cc View 1 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/password_manager/native_backend_libsecret.cc View 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/password_manager/native_backend_libsecret_unittest.cc View 1 chunk +5 lines, -1 line 0 comments Download
M components/password_manager/core/browser/login_database.cc View 1 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 11 (4 generated)
Mike West
WDYT, Vasilii?
4 years, 9 months ago (2016-03-02 09:50:17 UTC) #1
vasilii
Not only Android. I also don't like "null". https://codereview.chromium.org/1755053002/diff/1/chrome/browser/password_manager/native_backend_kwallet_x.cc File chrome/browser/password_manager/native_backend_kwallet_x.cc (right): https://codereview.chromium.org/1755053002/diff/1/chrome/browser/password_manager/native_backend_kwallet_x.cc#newcode283 chrome/browser/password_manager/native_backend_kwallet_x.cc:283: ? ...
4 years, 9 months ago (2016-03-02 11:45:00 UTC) #2
vasilii
LGTM with nits.
4 years, 9 months ago (2016-03-02 11:45:16 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1755053002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1755053002/20001
4 years, 9 months ago (2016-03-02 12:06:48 UTC) #7
Mike West
On 2016/03/02 at 11:45:16, vasilii wrote: > LGTM with nits. Thanks. Updated CL description and ...
4 years, 9 months ago (2016-03-02 12:07:10 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-02 12:57:10 UTC) #9
commit-bot: I haz the power
4 years, 9 months ago (2016-03-02 12:59:08 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/45bf9a3d72344f1b7a6f28e0bc1c5536339db4a8
Cr-Commit-Position: refs/heads/master@{#378734}

Powered by Google App Engine
This is Rietveld 408576698