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

Issue 24869003: cryptohome: Move stateless wrapper functions out of CryptohomeLibrary (Closed)

Created:
7 years, 2 months ago by satorux1
Modified:
7 years, 2 months ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Visibility:
Public.

Description

cryptohome: Move stateless wrapper functions out of CryptohomeLibrary These functions don't have to be in CryptohomeLibrary. If you need to avoid real D-Bus method calls (ex. in tests), you can use FakeCryptohomeClient. BUG=141016 TEST=none R=hashimoto@chromium.org, pneubeck@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=226373

Patch Set 1 : #

Patch Set 2 : #

Total comments: 9

Patch Set 3 : rebase #

Patch Set 4 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -239 lines) Patch
M chrome/browser/chromeos/login/login_browsertest.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/login_utils.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/login/login_utils_browsertest.cc View 2 chunks +0 lines, -44 lines 0 comments Download
M chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc View 2 chunks +5 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/policy/enterprise_install_attributes.h View 1 2 3 3 chunks +1 line, -7 lines 0 comments Download
M chrome/browser/chromeos/policy/enterprise_install_attributes.cc View 7 chunks +23 lines, -20 lines 0 comments Download
M chrome/browser/chromeos/policy/enterprise_install_attributes_unittest.cc View 6 chunks +17 lines, -11 lines 0 comments Download
M chrome/browser/chromeos/policy/stub_enterprise_install_attributes.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/browser_policy_connector.cc View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
M chromeos/cryptohome/cryptohome_library.h View 2 chunks +21 lines, -19 lines 0 comments Download
M chromeos/cryptohome/cryptohome_library.cc View 1 2 3 chunks +70 lines, -107 lines 0 comments Download
M chromeos/cryptohome/mock_cryptohome_library.h View 1 chunk +0 lines, -13 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
satorux1
hashimoto: everything pneubeck: policy stuff There may still be some tests failing, but the patch ...
7 years, 2 months ago (2013-09-27 08:37:19 UTC) #1
pneubeck (no reviews)
Please consider the following highlevel comments: 1) It can make sense to have clear layers, ...
7 years, 2 months ago (2013-09-27 08:59:25 UTC) #2
satorux1
On 2013/09/27 08:59:25, pneubeck wrote: > Please consider the following highlevel comments: > > 1) ...
7 years, 2 months ago (2013-09-27 10:12:27 UTC) #3
pneubeck (no reviews)
On 2013/09/27 10:12:27, satorux1 wrote: > On 2013/09/27 08:59:25, pneubeck wrote: > > Please consider ...
7 years, 2 months ago (2013-09-27 11:55:16 UTC) #4
pneubeck (no reviews)
lgtm modulo the previous inline comments.
7 years, 2 months ago (2013-09-27 11:55:35 UTC) #5
hashimoto
lgtm
7 years, 2 months ago (2013-09-30 07:53:46 UTC) #6
satorux1
https://codereview.chromium.org/24869003/diff/55001/chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc File chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc (left): https://codereview.chromium.org/24869003/diff/55001/chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc#oldcode87 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc:87: chromeos::CryptohomeLibrary::SetForTest(cryptohome_library_.get()); This turned out to be necessary, as CryptohomeLibrary ...
7 years, 2 months ago (2013-10-01 05:24:03 UTC) #7
pneubeck (no reviews)
https://codereview.chromium.org/24869003/diff/55001/chrome/browser/policy/browser_policy_connector.cc File chrome/browser/policy/browser_policy_connector.cc (right): https://codereview.chromium.org/24869003/diff/55001/chrome/browser/policy/browser_policy_connector.cc#newcode135 chrome/browser/policy/browser_policy_connector.cc:135: if (chromeos::CryptohomeLibrary::IsInitialized() && On 2013/10/01 05:24:03, satorux1 wrote: > ...
7 years, 2 months ago (2013-10-01 09:05:07 UTC) #8
satorux1
7 years, 2 months ago (2013-10-02 01:04:28 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 manually as r226373 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698