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

Issue 2953006: Linux: access GNOME Keyring on the GLib main thread, rather than the DB thread. (Closed)

Created:
10 years, 5 months ago by Mike Mammarella
Modified:
9 years, 7 months ago
Reviewers:
Evan Martin
CC:
chromium-reviews, ben+cc_chromium.org
Visibility:
Public.

Description

Linux: access GNOME Keyring on the GLib main thread, rather than the DB thread. I was unable to reproduce the crash, but it's happening to a lot of people and the web suggests that moving access to GNOME Keyring to the GLib main thread should fix the problem. BUG=48343, 25404 TEST=hopefully it won't crash for some people any more Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52729

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Patch Set 3 : don't get confused by unrelated passwords in the keyring #

Total comments: 2

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+488 lines, -206 lines) Patch
M chrome/browser/password_manager/native_backend_gnome_x.h View 1 2 3 4 2 chunks +0 lines, -11 lines 0 comments Download
M chrome/browser/password_manager/native_backend_gnome_x.cc View 1 2 3 4 16 chunks +488 lines, -195 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Mike Mammarella
10 years, 5 months ago (2010-07-10 21:58:38 UTC) #1
Mike Mammarella
ping
10 years, 5 months ago (2010-07-13 18:24:53 UTC) #2
Evan Martin
Sorry to put off the review, I wanted to ponder it over a bit. The ...
10 years, 5 months ago (2010-07-13 20:33:27 UTC) #3
Mike Mammarella
On 2010/07/13 20:33:27, Evan Martin wrote: > Sorry to put off the review, I wanted ...
10 years, 5 months ago (2010-07-13 20:47:35 UTC) #4
Evan Martin
http://codereview.chromium.org/2953006/diff/1/2 File chrome/browser/password_manager/native_backend_gnome_x.cc (right): http://codereview.chromium.org/2953006/diff/1/2#newcode783 chrome/browser/password_manager/native_backend_gnome_x.cc:783: if (all_forms[i]) { Should you consider the value of ...
10 years, 5 months ago (2010-07-13 21:26:38 UTC) #5
Evan Martin
Oops, and the major comment: what happens if this is going on during shutdown? e.g. ...
10 years, 5 months ago (2010-07-13 21:27:10 UTC) #6
Mike Mammarella
I believe the UI thread is the main thread, so when it exits, the entire ...
10 years, 5 months ago (2010-07-13 21:55:39 UTC) #7
Evan Martin
LGTM http://codereview.chromium.org/2953006/diff/15001/16001 File chrome/browser/password_manager/native_backend_gnome_x.cc (right): http://codereview.chromium.org/2953006/diff/15001/16001#newcode807 chrome/browser/password_manager/native_backend_gnome_x.cc:807: for (size_t i = 0; i < item_ids.size(); ...
10 years, 5 months ago (2010-07-14 21:19:06 UTC) #8
Mike Mammarella
10 years, 5 months ago (2010-07-14 22:02:41 UTC) #9
http://codereview.chromium.org/2953006/diff/15001/16001
File chrome/browser/password_manager/native_backend_gnome_x.cc (right):

http://codereview.chromium.org/2953006/diff/15001/16001#newcode807
chrome/browser/password_manager/native_backend_gnome_x.cc:807: for (size_t i =
0; i < item_ids.size(); ++i)
On 2010/07/14 21:19:06, Evan Martin wrote:
> nit: curlies on the for

Done.

Powered by Google App Engine
This is Rietveld 408576698