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

Issue 23480087: Use username_hash instead of email (Closed)

Created:
7 years, 3 months ago by bshe
Modified:
7 years, 2 months ago
Reviewers:
Nikita (slow)
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, miket_OOO
Visibility:
Public.

Description

Use username_hash instead of email as directory name Previously, email was used as directory name to save user's custom wallpaper. It is not safe as email may contain special characters. After this CL, username_hash will be used as directory name. And previously saved custom wallpaper will be migrated to new directory among user login. BUG=287020 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=226140

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : rebase #

Total comments: 26

Patch Set 4 : comments #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+212 lines, -88 lines) Patch
M chrome/browser/chromeos/extensions/wallpaper_api.h View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/extensions/wallpaper_api.cc View 1 2 3 4 3 chunks +8 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/extensions/wallpaper_private_api.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/extensions/wallpaper_private_api.cc View 1 2 3 4 5 chunks +17 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/login/wallpaper_manager.h View 1 2 3 6 chunks +28 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/login/wallpaper_manager.cc View 1 2 3 4 16 chunks +122 lines, -38 lines 0 comments Download
M chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc View 1 2 3 16 chunks +25 lines, -20 lines 0 comments Download
M chrome/browser/chromeos/login/wallpaper_manager_unittest.cc View 1 2 3 2 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
bshe
Hi Nikita. Would you mind to take a look at wallpaper_manager related change? I will ...
7 years, 3 months ago (2013-09-17 23:18:05 UTC) #1
bshe
On 2013/09/17 23:18:05, bshe wrote: > Hi Nikita. > > Would you mind to take ...
7 years, 3 months ago (2013-09-18 00:03:30 UTC) #2
bshe
On 2013/09/18 00:03:30, bshe wrote: > On 2013/09/17 23:18:05, bshe wrote: > > Hi Nikita. ...
7 years, 3 months ago (2013-09-20 21:19:52 UTC) #3
bshe
On 2013/09/20 21:19:52, bshe wrote: > On 2013/09/18 00:03:30, bshe wrote: > > On 2013/09/17 ...
7 years, 3 months ago (2013-09-23 22:22:29 UTC) #4
Nikita (slow)
My main question is whether WallpaperManager will handle legacy configuration when user_id_hash is empty. https://codereview.chromium.org/23480087/diff/27001/chrome/browser/chromeos/extensions/wallpaper_api.cc ...
7 years, 2 months ago (2013-09-25 14:47:10 UTC) #5
Nikita (slow)
https://codereview.chromium.org/23480087/diff/27001/chrome/browser/chromeos/login/wallpaper_manager.cc File chrome/browser/chromeos/login/wallpaper_manager.cc (right): https://codereview.chromium.org/23480087/diff/27001/chrome/browser/chromeos/login/wallpaper_manager.cc#newcode464 chrome/browser/chromeos/login/wallpaper_manager.cc:464: username_hash + '/' + file, nit: Use separator constant. ...
7 years, 2 months ago (2013-09-25 16:23:12 UTC) #6
bshe
Thanks for review. Do you mind to take another look? https://codereview.chromium.org/23480087/diff/27001/chrome/browser/chromeos/extensions/wallpaper_api.cc File chrome/browser/chromeos/extensions/wallpaper_api.cc (right): https://codereview.chromium.org/23480087/diff/27001/chrome/browser/chromeos/extensions/wallpaper_api.cc#newcode43 ...
7 years, 2 months ago (2013-09-26 16:49:57 UTC) #7
Nikita (slow)
https://codereview.chromium.org/23480087/diff/27001/chrome/browser/chromeos/login/wallpaper_manager.cc File chrome/browser/chromeos/login/wallpaper_manager.cc (right): https://codereview.chromium.org/23480087/diff/27001/chrome/browser/chromeos/login/wallpaper_manager.cc#newcode890 chrome/browser/chromeos/login/wallpaper_manager.cc:890: task_runner_->PostTask(FROM_HERE, On 2013/09/26 16:49:57, bshe wrote: > Postponed it ...
7 years, 2 months ago (2013-09-26 17:46:18 UTC) #8
bshe
Hi Nikita. Do you mind to take another look at this latest patch? Sorry it ...
7 years, 2 months ago (2013-09-26 21:02:11 UTC) #9
Nikita (slow)
lgtm
7 years, 2 months ago (2013-09-30 15:52:21 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bshe@chromium.org/23480087/68001
7 years, 2 months ago (2013-09-30 17:35:24 UTC) #11
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) content_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=203772
7 years, 2 months ago (2013-10-01 00:29:54 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bshe@chromium.org/23480087/68001
7 years, 2 months ago (2013-10-01 03:27:16 UTC) #13
commit-bot: I haz the power
7 years, 2 months ago (2013-10-01 04:58:10 UTC) #14
Message was sent while issue was closed.
Change committed as 226140

Powered by Google App Engine
This is Rietveld 408576698