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

Issue 2057123002: Refactor native_backend_kwallet_x (Closed)

Created:
4 years, 6 months ago by cfroussios
Modified:
4 years, 6 months ago
Reviewers:
vasilii
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

Refactor native_backend_kwallet_x Parts of the implementation have been moved into a new util, KWalletDBus. The purpose of this is to make those pieces of code reusable, so that the (upcoming) KWallet implementation of OSCrypt can use them and avoid code duplication. BUG=602624 Committed: https://crrev.com/890de0dd1b69237f36aaeab4955a7357e30c404e Cr-Commit-Position: refs/heads/master@{#401245}

Patch Set 1 #

Patch Set 2 : doc #

Patch Set 3 : cleanup #

Total comments: 48

Patch Set 4 : Recommendations #

Patch Set 5 : nit #

Patch Set 6 : Tests #

Patch Set 7 : nit #

Total comments: 36

Patch Set 8 : Recommendations #

Patch Set 9 : cleanup #

Total comments: 10

Patch Set 10 : feedback #

Patch Set 11 : consistency #

Total comments: 3

Patch Set 12 : assert #

Patch Set 13 : revert assertions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1264 lines, -374 lines) Patch
A chrome/browser/password_manager/kwallet_dbus.h View 1 2 3 4 5 6 7 1 chunk +121 lines, -0 lines 0 comments Download
A chrome/browser/password_manager/kwallet_dbus.cc View 1 2 3 4 5 6 7 8 9 1 chunk +344 lines, -0 lines 0 comments Download
A chrome/browser/password_manager/kwallet_dbus_unittest.cc View 1 2 3 4 5 6 7 8 9 10 12 1 chunk +696 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/native_backend_kwallet_x.h View 1 2 3 4 chunks +3 lines, -18 lines 0 comments Download
M chrome/browser/password_manager/native_backend_kwallet_x.cc View 1 2 3 4 5 6 7 8 9 11 chunks +97 lines, -356 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (6 generated)
cfroussios
4 years, 6 months ago (2016-06-10 13:50:05 UTC) #3
vasilii
What about unit tests for KWalletDBus? https://codereview.chromium.org/2057123002/diff/60001/chrome/browser/password_manager/kwallet_dbus.cc File chrome/browser/password_manager/kwallet_dbus.cc (right): https://codereview.chromium.org/2057123002/diff/60001/chrome/browser/password_manager/kwallet_dbus.cc#newcode43 chrome/browser/password_manager/kwallet_dbus.cc:43: session_bus_->ShutdownAndBlock(); Why do ...
4 years, 6 months ago (2016-06-10 16:58:10 UTC) #5
cfroussios
Hi. I added tests for KWalletDBus https://codereview.chromium.org/2057123002/diff/60001/chrome/browser/password_manager/kwallet_dbus.cc File chrome/browser/password_manager/kwallet_dbus.cc (right): https://codereview.chromium.org/2057123002/diff/60001/chrome/browser/password_manager/kwallet_dbus.cc#newcode43 chrome/browser/password_manager/kwallet_dbus.cc:43: session_bus_->ShutdownAndBlock(); On 2016/06/10 ...
4 years, 6 months ago (2016-06-16 12:29:09 UTC) #6
vasilii
https://codereview.chromium.org/2057123002/diff/60001/chrome/browser/password_manager/kwallet_dbus.h File chrome/browser/password_manager/kwallet_dbus.h (right): https://codereview.chromium.org/2057123002/diff/60001/chrome/browser/password_manager/kwallet_dbus.h#newcode14 chrome/browser/password_manager/kwallet_dbus.h:14: #include "dbus/bus.h" On 2016/06/16 12:29:08, cfroussios wrote: > On ...
4 years, 6 months ago (2016-06-16 17:54:44 UTC) #7
cfroussios
https://codereview.chromium.org/2057123002/diff/60001/chrome/browser/password_manager/kwallet_dbus.h File chrome/browser/password_manager/kwallet_dbus.h (right): https://codereview.chromium.org/2057123002/diff/60001/chrome/browser/password_manager/kwallet_dbus.h#newcode14 chrome/browser/password_manager/kwallet_dbus.h:14: #include "dbus/bus.h" On 2016/06/16 17:54:43, vasilii wrote: > On ...
4 years, 6 months ago (2016-06-17 12:17:27 UTC) #8
vasilii
https://codereview.chromium.org/2057123002/diff/140001/chrome/browser/password_manager/kwallet_dbus.cc File chrome/browser/password_manager/kwallet_dbus.cc (right): https://codereview.chromium.org/2057123002/diff/140001/chrome/browser/password_manager/kwallet_dbus.cc#newcode178 chrome/browser/password_manager/kwallet_dbus.cc:178: size_t length = -1; On 2016/06/17 12:17:26, cfroussios wrote: ...
4 years, 6 months ago (2016-06-17 14:43:41 UTC) #9
cfroussios
https://codereview.chromium.org/2057123002/diff/140001/chrome/browser/password_manager/kwallet_dbus.cc File chrome/browser/password_manager/kwallet_dbus.cc (right): https://codereview.chromium.org/2057123002/diff/140001/chrome/browser/password_manager/kwallet_dbus.cc#newcode178 chrome/browser/password_manager/kwallet_dbus.cc:178: size_t length = -1; On 2016/06/17 14:43:40, vasilii wrote: ...
4 years, 6 months ago (2016-06-20 13:00:43 UTC) #10
vasilii
lgtm I like the tests! https://codereview.chromium.org/2057123002/diff/220001/chrome/browser/password_manager/kwallet_dbus_unittest.cc File chrome/browser/password_manager/kwallet_dbus_unittest.cc (right): https://codereview.chromium.org/2057123002/diff/220001/chrome/browser/password_manager/kwallet_dbus_unittest.cc#newcode138 chrome/browser/password_manager/kwallet_dbus_unittest.cc:138: EXPECT_TRUE(reader.PopInt32(&i)); What about ASSERT_TRUE ...
4 years, 6 months ago (2016-06-21 16:25:22 UTC) #11
cfroussios
https://codereview.chromium.org/2057123002/diff/220001/chrome/browser/password_manager/kwallet_dbus_unittest.cc File chrome/browser/password_manager/kwallet_dbus_unittest.cc (right): https://codereview.chromium.org/2057123002/diff/220001/chrome/browser/password_manager/kwallet_dbus_unittest.cc#newcode138 chrome/browser/password_manager/kwallet_dbus_unittest.cc:138: EXPECT_TRUE(reader.PopInt32(&i)); On 2016/06/21 16:25:22, vasilii wrote: > What about ...
4 years, 6 months ago (2016-06-21 17:01:42 UTC) #12
cfroussios
https://codereview.chromium.org/2057123002/diff/220001/chrome/browser/password_manager/kwallet_dbus_unittest.cc File chrome/browser/password_manager/kwallet_dbus_unittest.cc (right): https://codereview.chromium.org/2057123002/diff/220001/chrome/browser/password_manager/kwallet_dbus_unittest.cc#newcode138 chrome/browser/password_manager/kwallet_dbus_unittest.cc:138: EXPECT_TRUE(reader.PopInt32(&i)); On 2016/06/21 17:01:42, cfroussios wrote: > On 2016/06/21 ...
4 years, 6 months ago (2016-06-22 09:20:07 UTC) #13
vasilii
On 2016/06/22 09:20:07, cfroussios wrote: > https://codereview.chromium.org/2057123002/diff/220001/chrome/browser/password_manager/kwallet_dbus_unittest.cc > File chrome/browser/password_manager/kwallet_dbus_unittest.cc (right): > > https://codereview.chromium.org/2057123002/diff/220001/chrome/browser/password_manager/kwallet_dbus_unittest.cc#newcode138 > ...
4 years, 6 months ago (2016-06-22 09:22:09 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2057123002/260001
4 years, 6 months ago (2016-06-22 09:24:58 UTC) #16
commit-bot: I haz the power
Committed patchset #13 (id:260001)
4 years, 6 months ago (2016-06-22 10:22:54 UTC) #18
commit-bot: I haz the power
4 years, 6 months ago (2016-06-22 10:24:27 UTC) #20
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/890de0dd1b69237f36aaeab4955a7357e30c404e
Cr-Commit-Position: refs/heads/master@{#401245}

Powered by Google App Engine
This is Rietveld 408576698