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

Issue 7396013: Linux: revive a mysteriously disabled test and add tests for the GNOME Keyring native backend. (Closed)

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

Description

Linux: revive a mysteriously disabled test and add tests for the GNOME Keyring native backend. In order to make the GNOME Keyring API mockable, I've substituted evil preprocessor macros with a slightly less evil scoping trick, and used it even when linking directly. I'm not sure when password_store_x_unittest fell out of the gyp file, but it hasn't been compiled for some time apparently so it required a bit of cleanup to make it compile. I also did a little unrelated cleanup in the gyp files and fixed typos in password_store_default_unittest. BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=93093

Patch Set 1 : '' #

Total comments: 10

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+958 lines, -110 lines) Patch
M build/linux/system.gyp View 1 2 2 chunks +34 lines, -1 line 0 comments Download
M chrome/browser/password_manager/native_backend_gnome_x.h View 1 2 2 chunks +45 lines, -1 line 0 comments Download
M chrome/browser/password_manager/native_backend_gnome_x.cc View 1 2 3 chunks +33 lines, -61 lines 0 comments Download
A chrome/browser/password_manager/native_backend_gnome_x_unittest.cc View 1 chunk +767 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/password_store_default_unittest.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/password_manager/password_store_x_unittest.cc View 1 2 15 chunks +44 lines, -30 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_tests.gypi View 1 2 4 chunks +31 lines, -13 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Mike Mammarella
9 years, 5 months ago (2011-07-18 03:45:19 UTC) #1
Evan Martin
Awesome! http://codereview.chromium.org/7396013/diff/7001/build/linux/system.gyp File build/linux/system.gyp (right): http://codereview.chromium.org/7396013/diff/7001/build/linux/system.gyp#newcode382 build/linux/system.gyp:382: 'target_name': 'gnome-keyring-direct', I think we normally use underscores ...
9 years, 5 months ago (2011-07-18 15:30:59 UTC) #2
Mike Mammarella
http://codereview.chromium.org/7396013/diff/7001/build/linux/system.gyp File build/linux/system.gyp (right): http://codereview.chromium.org/7396013/diff/7001/build/linux/system.gyp#newcode382 build/linux/system.gyp:382: 'target_name': 'gnome-keyring-direct', On 2011/07/18 15:31:00, Evan Martin wrote: > ...
9 years, 5 months ago (2011-07-19 00:20:35 UTC) #3
Evan Martin
9 years, 5 months ago (2011-07-19 17:37:59 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698