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

Issue 1886653002: Remove WallpaperManager dependency on Cryptohome. (Closed)

Created:
4 years, 8 months ago by Alexander Alekseev
Modified:
4 years, 8 months ago
Reviewers:
Darren Krahn, bshe
CC:
chromium-reviews, extensions-reviews_chromium.org, dzhioev+watch_chromium.org, achuith+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove WallpaperManager dependency on Cryptohome. This Cl adds wallpaper file names hashing to WallpaperManager itself, removing dependency on cryptohome. No more asynchronous calls. BUG=462823 TEST=manual Committed: https://crrev.com/81e10078a524522e862dd33ebdceaf64f4ebeba1 Cr-Commit-Position: refs/heads/master@{#387235} Committed: https://crrev.com/9558da44f7e531d60fe4e941249bd8c543ce0de4 Cr-Commit-Position: refs/heads/master@{#387514}

Patch Set 1 #

Patch Set 2 : Rebased. #

Patch Set 3 : Rebased. #

Patch Set 4 : Rebased. #

Patch Set 5 : Add dependency. #

Patch Set 6 : Fix tests. #

Total comments: 10

Patch Set 7 : Update after review. #

Patch Set 8 : Fix rebase (raw_salt_ is now properly set). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -74 lines) Patch
M chrome/browser/chromeos/extensions/wallpaper_api.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/extensions/wallpaper_apitest.cc View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/extensions/wallpaper_private_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/extensions/wallpaper_private_apitest.cc View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h View 2 chunks +2 lines, -11 lines 0 comments Download
M chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.cc View 1 2 3 4 5 6 5 chunks +51 lines, -53 lines 0 comments Download
M chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_policy_browsertest.cc View 1 2 3 4 5 4 chunks +10 lines, -0 lines 0 comments Download
M chromeos/cryptohome/system_salt_getter.h View 1 2 3 4 5 6 3 chunks +12 lines, -3 lines 0 comments Download
M chromeos/cryptohome/system_salt_getter.cc View 1 2 3 4 5 6 7 2 chunks +13 lines, -2 lines 0 comments Download
M components/wallpaper/wallpaper_manager_base.h View 1 chunk +2 lines, -2 lines 0 comments Download
M components/wallpaper/wallpaper_manager_base.cc View 1 chunk +2 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 33 (15 generated)
Alexander Alekseev
Please review: dkrahn@: chromeos/cryptohome/* HashWallpaperFilesIdStr() in c/b/c/login/users/wallpaper/wallpaper_manager.cc bshe@: all
4 years, 8 months ago (2016-04-13 05:20:18 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1886653002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1886653002/80001
4 years, 8 months ago (2016-04-13 05:27:32 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/195943)
4 years, 8 months ago (2016-04-13 06:42:42 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1886653002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1886653002/100001
4 years, 8 months ago (2016-04-13 09:05:58 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-13 09:34:50 UTC) #10
Darren Krahn
chromeos/cryptohome lgtm https://codereview.chromium.org/1886653002/diff/100001/chromeos/cryptohome/system_salt_getter.cc File chromeos/cryptohome/system_salt_getter.cc (right): https://codereview.chromium.org/1886653002/diff/100001/chromeos/cryptohome/system_salt_getter.cc#newcode46 chromeos/cryptohome/system_salt_getter.cc:46: if (!raw_salt_.empty()) optional: candidate for a ternary ...
4 years, 8 months ago (2016-04-13 16:33:44 UTC) #11
bshe
lgtm with nits https://codereview.chromium.org/1886653002/diff/100001/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.cc File chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.cc (right): https://codereview.chromium.org/1886653002/diff/100001/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.cc#newcode134 chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.cc:134: // wallpaper identification purpose only. nit: ...
4 years, 8 months ago (2016-04-13 20:00:19 UTC) #12
Alexander Alekseev
https://codereview.chromium.org/1886653002/diff/100001/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.cc File chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.cc (right): https://codereview.chromium.org/1886653002/diff/100001/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.cc#newcode134 chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.cc:134: // wallpaper identification purpose only. On 2016/04/13 20:00:19, bshe ...
4 years, 8 months ago (2016-04-14 03:37:29 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1886653002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1886653002/120001
4 years, 8 months ago (2016-04-14 03:38:45 UTC) #16
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 8 months ago (2016-04-14 04:25:36 UTC) #17
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/81e10078a524522e862dd33ebdceaf64f4ebeba1 Cr-Commit-Position: refs/heads/master@{#387235}
4 years, 8 months ago (2016-04-14 04:26:55 UTC) #19
ilja
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/1887983005/ by ihf@chromium.org. ...
4 years, 8 months ago (2016-04-14 21:15:40 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1886653002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1886653002/140001
4 years, 8 months ago (2016-04-15 00:48:59 UTC) #23
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-15 01:27:08 UTC) #25
Alexander Alekseev
Relanding with simple fix.
4 years, 8 months ago (2016-04-15 01:36:31 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1886653002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1886653002/140001
4 years, 8 months ago (2016-04-15 01:37:14 UTC) #29
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 8 months ago (2016-04-15 01:41:58 UTC) #31
commit-bot: I haz the power
4 years, 8 months ago (2016-04-15 01:43:34 UTC) #33
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/9558da44f7e531d60fe4e941249bd8c543ce0de4
Cr-Commit-Position: refs/heads/master@{#387514}

Powered by Google App Engine
This is Rietveld 408576698