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

Issue 24637004: cryptohome: Merge FakeCryptohomeClient and CryptohomeClinentStubImpl (Closed)

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

Description

cryptohome: Merge FakeCryptohomeClient and CryptohomeClinentStubImpl The new FakeCryptohomeClient is based on CryptohomeClinentStubImpl. The only addition is set_unmout_result(). BUG=298729 TEST=the existing tests should pass R=hashimoto@chromium.org, stevenjb@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=225664

Patch Set 1 #

Total comments: 8

Patch Set 2 : fix gyp #

Total comments: 2

Patch Set 3 : rebase #

Patch Set 4 : fix tests #

Total comments: 1

Patch Set 5 : fix gyp #

Patch Set 6 : fix the build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+304 lines, -769 lines) Patch
M chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc View 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/policy/device_local_account_browsertest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/policy/enterprise_install_attributes_unittest.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/policy/power_policy_browsertest.cc View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/networking_private/networking_private_apitest.cc View 1 2 3 2 chunks +2 lines, -3 lines 0 comments Download
M chromeos/chromeos.gyp View 1 2 3 4 5 chunks +3 lines, -10 lines 0 comments Download
M chromeos/dbus/cryptohome_client.cc View 2 chunks +2 lines, -2 lines 0 comments Download
D chromeos/dbus/cryptohome_client_stub.h View 1 chunk +0 lines, -167 lines 0 comments Download
D chromeos/dbus/cryptohome_client_stub.cc View 1 chunk +0 lines, -388 lines 0 comments Download
M chromeos/dbus/fake_cryptohome_client.h View 3 chunks +25 lines, -12 lines 0 comments Download
M chromeos/dbus/fake_cryptohome_client.cc View 3 chunks +248 lines, -166 lines 0 comments Download
M chromeos/dbus/fake_gsm_sms_client.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chromeos/dbus/fake_image_burner_client.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chromeos/dbus/fake_system_clock_client.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
satorux1
stevenjb: chrome/browser/extensions/api/networking_private/networking_private_apitest.cc pneubeck: chrome/browser/chromeos/policy/... hashimoto: chromeos/dbus/... As mentioned in the patch description, the new FakeCryptohomeClient ...
7 years, 2 months ago (2013-09-26 08:20:15 UTC) #1
hashimoto
https://codereview.chromium.org/24637004/diff/1/chrome/browser/extensions/api/networking_private/networking_private_apitest.cc File chrome/browser/extensions/api/networking_private/networking_private_apitest.cc (right): https://codereview.chromium.org/24637004/diff/1/chrome/browser/extensions/api/networking_private/networking_private_apitest.cc#newcode81 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc:81: // Do the same as FakeCryptohomeClient::GetSanitizedUsername Did you mean ...
7 years, 2 months ago (2013-09-26 08:41:29 UTC) #2
satorux1
https://codereview.chromium.org/24637004/diff/1/chrome/browser/extensions/api/networking_private/networking_private_apitest.cc File chrome/browser/extensions/api/networking_private/networking_private_apitest.cc (right): https://codereview.chromium.org/24637004/diff/1/chrome/browser/extensions/api/networking_private/networking_private_apitest.cc#newcode81 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc:81: // Do the same as FakeCryptohomeClient::GetSanitizedUsername On 2013/09/26 08:41:29, ...
7 years, 2 months ago (2013-09-26 09:58:36 UTC) #3
satorux1
Failures in PowerPolicyInSessionBrowserTest.AllowScreenWakeLocks and PowerPolicyInSessionBrowserTest.SetUserPolicy seem to be valid. I'll take a look tomorrow.
7 years, 2 months ago (2013-09-26 09:59:58 UTC) #4
pneubeck (no reviews)
https://codereview.chromium.org/24637004/diff/4001/chrome/browser/extensions/api/networking_private/networking_private_apitest.cc File chrome/browser/extensions/api/networking_private/networking_private_apitest.cc (right): https://codereview.chromium.org/24637004/diff/4001/chrome/browser/extensions/api/networking_private/networking_private_apitest.cc#newcode82 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc:82: std::string sanitized_user = login_user + kUserIdStubHashSuffix; I think, I ...
7 years, 2 months ago (2013-09-26 12:47:18 UTC) #5
stevenjb
Nice. lgtm.
7 years, 2 months ago (2013-09-26 17:40:36 UTC) #6
satorux1
https://codereview.chromium.org/24637004/diff/4001/chrome/browser/extensions/api/networking_private/networking_private_apitest.cc File chrome/browser/extensions/api/networking_private/networking_private_apitest.cc (right): https://codereview.chromium.org/24637004/diff/4001/chrome/browser/extensions/api/networking_private/networking_private_apitest.cc#newcode82 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc:82: std::string sanitized_user = login_user + kUserIdStubHashSuffix; On 2013/09/26 12:47:19, ...
7 years, 2 months ago (2013-09-27 02:31:01 UTC) #7
hashimoto
https://codereview.chromium.org/24637004/diff/1/chromeos/chromeos.gyp File chromeos/chromeos.gyp (right): https://codereview.chromium.org/24637004/diff/1/chromeos/chromeos.gyp#newcode413 chromeos/chromeos.gyp:413: 'dbus/fake_cryptohome_client.h', On 2013/09/26 09:58:36, satorux1 wrote: > On 2013/09/26 ...
7 years, 2 months ago (2013-09-27 04:07:10 UTC) #8
satorux1
https://codereview.chromium.org/24637004/diff/1/chromeos/chromeos.gyp File chromeos/chromeos.gyp (right): https://codereview.chromium.org/24637004/diff/1/chromeos/chromeos.gyp#newcode413 chromeos/chromeos.gyp:413: 'dbus/fake_cryptohome_client.h', On 2013/09/27 04:07:11, hashimoto wrote: > On 2013/09/26 ...
7 years, 2 months ago (2013-09-27 04:12:37 UTC) #9
hashimoto
lgtm
7 years, 2 months ago (2013-09-27 04:18:22 UTC) #10
satorux1
7 years, 2 months ago (2013-09-27 05:11:18 UTC) #11
Message was sent while issue was closed.
Committed patchset #6 manually as r225664 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698