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

Issue 1738023002: ChromeOS: Add RenameCryptohome and migration code. (Closed)

Created:
4 years, 10 months ago by Alexander Alekseev
Modified:
4 years, 9 months ago
CC:
chromium-reviews, hashimoto+watch_chromium.org, oshima+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@462823--Chrome-OS-handles-deletion-of-Gmail-account-poorly--Create-AccountID-structure-part11--migrate-cryptohomes
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ChromeOS: Add RenameCryptohome and migration code. This CL adds support for renaming existing cryptohomes to new id (RenameCreptohome dbus call). BUG=462823 TEST=manual Committed: https://crrev.com/ad238d39cab83b2c09094a2f769e603bedb40e54 Cr-Commit-Position: refs/heads/master@{#380253}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebased. #

Patch Set 3 : Rebased. #

Patch Set 4 : Rebased. #

Patch Set 5 : Rebased. Added UMA metrics. #

Total comments: 4

Patch Set 6 : Update after review. #

Total comments: 2

Patch Set 7 : Update after review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -3 lines) Patch
M chromeos/cryptohome/homedir_methods.h View 1 chunk +6 lines, -0 lines 0 comments Download
M chromeos/cryptohome/homedir_methods.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M chromeos/cryptohome/mock_homedir_methods.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chromeos/dbus/cryptohome_client.h View 1 chunk +7 lines, -0 lines 0 comments Download
M chromeos/dbus/cryptohome_client.cc View 1 chunk +20 lines, -0 lines 0 comments Download
M chromeos/dbus/fake_cryptohome_client.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chromeos/dbus/fake_cryptohome_client.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M chromeos/dbus/mock_cryptohome_client.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chromeos/login/auth/cryptohome_authenticator.cc View 1 2 3 4 5 6 7 chunks +113 lines, -3 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 2 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (16 generated)
Alexander Alekseev
Please review.
4 years, 10 months ago (2016-02-26 02:54:59 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1738023002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1738023002/1
4 years, 10 months ago (2016-02-26 02:56:41 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/150512)
4 years, 10 months ago (2016-02-26 03:16:58 UTC) #6
stevenjb
Thanks for splitting this up. Please have someone familiar with cryptohome also review this. https://codereview.chromium.org/1738023002/diff/1/chromeos/login/auth/cryptohome_authenticator.cc ...
4 years, 10 months ago (2016-02-26 16:48:20 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1738023002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1738023002/60001
4 years, 9 months ago (2016-03-04 10:32:53 UTC) #9
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/153350)
4 years, 9 months ago (2016-03-04 10:42:07 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1738023002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1738023002/80001
4 years, 9 months ago (2016-03-05 00:50:42 UTC) #13
Alexander Alekseev
+dkrahn@: chromeos/dbus/* +isherman@: tools/metrics/histograms.xml The only difference of chromeos/dbus/* against previous https://codereview.chromium.org/1693383003 is the addition ...
4 years, 9 months ago (2016-03-05 00:58:26 UTC) #15
Ilya Sherman
https://codereview.chromium.org/1738023002/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1738023002/diff/80001/tools/metrics/histograms/histograms.xml#newcode14942 tools/metrics/histograms/histograms.xml:14942: +<histogram name="GaiaId.Migration.Cryptohome" enum="GaiaIdMigrationCryptohome"> Please use the existing top-level name ...
4 years, 9 months ago (2016-03-05 01:08:05 UTC) #16
Alexander Alekseev
https://codereview.chromium.org/1738023002/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1738023002/diff/80001/tools/metrics/histograms/histograms.xml#newcode14942 tools/metrics/histograms/histograms.xml:14942: +<histogram name="GaiaId.Migration.Cryptohome" enum="GaiaIdMigrationCryptohome"> On 2016/03/05 01:08:05, Ilya Sherman wrote: ...
4 years, 9 months ago (2016-03-05 01:33:45 UTC) #17
Ilya Sherman
metrics lgtm
4 years, 9 months ago (2016-03-05 10:09:27 UTC) #18
stevenjb
lgtm https://codereview.chromium.org/1738023002/diff/100001/chromeos/login/auth/cryptohome_authenticator.cc File chromeos/login/auth/cryptohome_authenticator.cc (right): https://codereview.chromium.org/1738023002/diff/100001/chromeos/login/auth/cryptohome_authenticator.cc#newcode258 chromeos/login/auth/cryptohome_authenticator.cc:258: CryptohomeMigrationToGaiaId::ALREADY_MIGRATED); nit: {}
4 years, 9 months ago (2016-03-07 17:56:34 UTC) #19
Alexander Alekseev
dkrahn@ , friendly ping
4 years, 9 months ago (2016-03-09 01:34:35 UTC) #20
Alexander Alekseev
https://codereview.chromium.org/1738023002/diff/100001/chromeos/login/auth/cryptohome_authenticator.cc File chromeos/login/auth/cryptohome_authenticator.cc (right): https://codereview.chromium.org/1738023002/diff/100001/chromeos/login/auth/cryptohome_authenticator.cc#newcode258 chromeos/login/auth/cryptohome_authenticator.cc:258: CryptohomeMigrationToGaiaId::ALREADY_MIGRATED); On 2016/03/07 17:56:34, stevenjb wrote: > nit: {} ...
4 years, 9 months ago (2016-03-09 01:40:16 UTC) #21
Darren Krahn
lgtm for chromeos/cryptohome and chromeos/dbus Should there be unit tests for the logic in chromeos/login?
4 years, 9 months ago (2016-03-09 18:12:44 UTC) #23
Alexander Alekseev
On 2016/03/09 18:12:44, Darren Krahn wrote: > lgtm for chromeos/cryptohome and chromeos/dbus > > Should ...
4 years, 9 months ago (2016-03-09 20:54:08 UTC) #26
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1738023002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1738023002/120001
4 years, 9 months ago (2016-03-09 20:54:40 UTC) #28
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-09 22:23:25 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1738023002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1738023002/120001
4 years, 9 months ago (2016-03-09 22:54:45 UTC) #33
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 9 months ago (2016-03-09 23:02:44 UTC) #35
commit-bot: I haz the power
4 years, 9 months ago (2016-03-09 23:03:53 UTC) #37
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/ad238d39cab83b2c09094a2f769e603bedb40e54
Cr-Commit-Position: refs/heads/master@{#380253}

Powered by Google App Engine
This is Rietveld 408576698