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

Issue 526353002: Merge cryptohome::RetrievedKeyData with cryptohome::KeyDefinition (Closed)

Created:
6 years, 3 months ago by bartfab (slow)
Modified:
6 years, 3 months ago
CC:
chromium-reviews, pam+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@d_2_367847_add_get_key_data_ex_to_mount_flow
Project:
chromium
Visibility:
Public.

Description

Merge cryptohome::RetrievedKeyData with cryptohome::KeyDefinition cryptohome::RetrievedKeyData and cryptohome::KeyDefinition both represent subsets of the Key protobuf. This CL merges the two classes and makes the resulting cryptohome::KeyDefinition contain all of Key's fields. TBR=pamg (manager_password_service.cc) BUG=367847 TEST=Updated unit tests Committed: https://crrev.com/e7e066d00108649cb3761fc5f450a8d9068fa8b3 Cr-Commit-Position: refs/heads/master@{#294823}

Patch Set 1 #

Total comments: 21

Patch Set 2 : Rebased. #

Total comments: 2

Patch Set 3 : Addressed comments. #

Patch Set 4 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+376 lines, -192 lines) Patch
M chrome/browser/chromeos/login/auth/cryptohome_authenticator_unittest.cc View 1 2 3 4 chunks +16 lines, -19 lines 0 comments Download
M chrome/browser/chromeos/login/supervised/supervised_user_creation_controller_new.cc View 1 2 1 chunk +12 lines, -4 lines 0 comments Download
M chrome/browser/supervised_user/chromeos/manager_password_service.cc View 1 2 1 chunk +8 lines, -3 lines 0 comments Download
M chromeos/cryptohome/cryptohome_parameters.h View 1 2 2 chunks +68 lines, -41 lines 0 comments Download
M chromeos/cryptohome/cryptohome_parameters.cc View 1 2 3 chunks +122 lines, -30 lines 0 comments Download
M chromeos/cryptohome/homedir_methods.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chromeos/cryptohome/homedir_methods.cc View 1 2 6 chunks +101 lines, -51 lines 0 comments Download
M chromeos/cryptohome/homedir_methods_unittest.cc View 4 chunks +19 lines, -18 lines 0 comments Download
M chromeos/cryptohome/mock_homedir_methods.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chromeos/login/auth/cryptohome_authenticator.cc View 1 2 3 chunks +24 lines, -21 lines 0 comments Download
M chromeos/login/auth/extended_authenticator.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (4 generated)
bartfab (slow)
Hi Darren, Could you take a look at chromeos/cryptohome/*? Hi Pavel, Could you take a ...
6 years, 3 months ago (2014-09-02 12:28:46 UTC) #2
Darren Krahn
https://codereview.chromium.org/526353002/diff/1/chromeos/cryptohome/cryptohome_parameters.cc File chromeos/cryptohome/cryptohome_parameters.cc (right): https://codereview.chromium.org/526353002/diff/1/chromeos/cryptohome/cryptohome_parameters.cc#newcode81 chromeos/cryptohome/cryptohome_parameters.cc:81: (!bytes || (other.bytes && *bytes == *other.bytes))); Should we ...
6 years, 3 months ago (2014-09-02 18:21:53 UTC) #3
dzhioev (left Google)
LGTM with nit https://codereview.chromium.org/526353002/diff/20001/chrome/browser/chromeos/login/supervised/supervised_user_creation_controller_new.cc File chrome/browser/chromeos/login/supervised/supervised_user_creation_controller_new.cc (right): https://codereview.chromium.org/526353002/diff/20001/chrome/browser/chromeos/login/supervised/supervised_user_creation_controller_new.cc#newcode275 chrome/browser/chromeos/login/supervised/supervised_user_creation_controller_new.cc:275: password_key.AddSymmetricKey(true /* encrypt */, Nit: Is ...
6 years, 3 months ago (2014-09-03 17:42:46 UTC) #4
bartfab (slow)
https://codereview.chromium.org/526353002/diff/1/chromeos/cryptohome/cryptohome_parameters.cc File chromeos/cryptohome/cryptohome_parameters.cc (right): https://codereview.chromium.org/526353002/diff/1/chromeos/cryptohome/cryptohome_parameters.cc#newcode81 chromeos/cryptohome/cryptohome_parameters.cc:81: (!bytes || (other.bytes && *bytes == *other.bytes))); On 2014/09/02 ...
6 years, 3 months ago (2014-09-04 10:14:19 UTC) #5
Darren Krahn
chromeos/cryptohome lgtm (w/ a comment for AuthorizationData) https://codereview.chromium.org/526353002/diff/1/chromeos/cryptohome/cryptohome_parameters.h File chromeos/cryptohome/cryptohome_parameters.h (right): https://codereview.chromium.org/526353002/diff/1/chromeos/cryptohome/cryptohome_parameters.h#newcode43 chromeos/cryptohome/cryptohome_parameters.h:43: struct AuthorizationData ...
6 years, 3 months ago (2014-09-04 23:13:24 UTC) #6
xiyuan
Bartosz, when do you plan to land this CL? I have a https://codereview.chromium.org/554043003/ that needs ...
6 years, 3 months ago (2014-09-12 16:43:02 UTC) #7
chromium-reviews
I am traveling back from MTV to MUC today. I will be able to land ...
6 years, 3 months ago (2014-09-12 16:49:38 UTC) #8
xiyuan
On 2014/09/12 16:49:38, chromium-reviews wrote: > I am traveling back from MTV to MUC today. ...
6 years, 3 months ago (2014-09-12 16:59:48 UTC) #9
bartfab (slow)
https://codereview.chromium.org/526353002/diff/1/chromeos/cryptohome/cryptohome_parameters.h File chromeos/cryptohome/cryptohome_parameters.h (right): https://codereview.chromium.org/526353002/diff/1/chromeos/cryptohome/cryptohome_parameters.h#newcode43 chromeos/cryptohome/cryptohome_parameters.h:43: struct AuthorizationData { On 2014/09/04 23:13:23, Darren Krahn wrote: ...
6 years, 3 months ago (2014-09-15 12:04:44 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/526353002/60001
6 years, 3 months ago (2014-09-15 12:10:34 UTC) #12
commit-bot: I haz the power
Failed to commit the patch.
6 years, 3 months ago (2014-09-15 13:13:02 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/526353002/60001
6 years, 3 months ago (2014-09-15 14:39:35 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001) as daa13df1fe2accd1dd1d0130dbbae52697aba7fa
6 years, 3 months ago (2014-09-15 14:41:57 UTC) #17
commit-bot: I haz the power
6 years, 3 months ago (2014-09-15 15:08:38 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e7e066d00108649cb3761fc5f450a8d9068fa8b3
Cr-Commit-Position: refs/heads/master@{#294823}

Powered by Google App Engine
This is Rietveld 408576698