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

Issue 7712024: Linux: support append to password list in the GNOME keyring backend to fix initial password sync. (Closed)

Created:
9 years, 4 months ago by Mike Mammarella
Modified:
9 years, 4 months ago
Reviewers:
Evan Martin
CC:
chromium-reviews, Paweł Hajdan Jr.
Visibility:
Public.

Description

Linux: allow appending to a list of passwords in the GNOME keyring backend to fix initial password sync. Password sync calls FillAutofillableLogins and FillBlacklistLogins on the same password list, expecting the latter to append. BUG=92946 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97900

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -1 line) Patch
M chrome/browser/password_manager/native_backend_gnome_x.cc View 1 chunk +8 lines, -1 line 2 comments Download
M chrome/browser/password_manager/native_backend_gnome_x_unittest.cc View 1 chunk +34 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Mike Mammarella
9 years, 4 months ago (2011-08-23 06:39:26 UTC) #1
Evan Martin
LGTM You are awesome for writing so many tests! http://codereview.chromium.org/7712024/diff/1/chrome/browser/password_manager/native_backend_gnome_x.cc File chrome/browser/password_manager/native_backend_gnome_x.cc (right): http://codereview.chromium.org/7712024/diff/1/chrome/browser/password_manager/native_backend_gnome_x.cc#newcode387 chrome/browser/password_manager/native_backend_gnome_x.cc:387: ...
9 years, 4 months ago (2011-08-23 14:36:07 UTC) #2
Mike Mammarella
http://codereview.chromium.org/7712024/diff/1/chrome/browser/password_manager/native_backend_gnome_x.cc File chrome/browser/password_manager/native_backend_gnome_x.cc (right): http://codereview.chromium.org/7712024/diff/1/chrome/browser/password_manager/native_backend_gnome_x.cc#newcode387 chrome/browser/password_manager/native_backend_gnome_x.cc:387: forms->swap(forms_); On 2011/08/23 14:36:07, Evan Martin wrote: > Is ...
9 years, 4 months ago (2011-08-23 19:40:20 UTC) #3
Evan Martin
9 years, 4 months ago (2011-08-23 19:43:45 UTC) #4
On 2011/08/23 19:40:20, Mike Mammarella wrote:
>
http://codereview.chromium.org/7712024/diff/1/chrome/browser/password_manager...
> File chrome/browser/password_manager/native_backend_gnome_x.cc (right):
> 
>
http://codereview.chromium.org/7712024/diff/1/chrome/browser/password_manager...
> chrome/browser/password_manager/native_backend_gnome_x.cc:387:
> forms->swap(forms_);
> On 2011/08/23 14:36:07, Evan Martin wrote:
> > Is this performance critical?  I wonder if it's worth the extra code.  It
> seems
> > this is a vector of pointers, so either way the total amount of data being
> moved
> > around is on the order of 200 bytes.
> 
> No, it's not performance critical. It would probably be fine to just do the
copy
> always. On the other hand it's really not much code and it "feels" better to
me
> to avoid the unnecessary copy since it's so easy to do. If you want I'll
remove
> it but otherwise I'm inclined to leave it.

LGTM stands, your call :)

Powered by Google App Engine
This is Rietveld 408576698