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

Issue 9856016: Using random wallpaper until user select one (Closed)

Created:
8 years, 9 months ago by bshe
Modified:
8 years, 9 months ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Using a random wallpaper each time user login. If user specifically select a wallpaper, then use the selected wallpaper. It also avoid to save wallpaper index to local state when an ephemeral user logged in. BUG=120215 TEST=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=129404

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address review #

Patch Set 3 : Remove IsLoggedInAsGuest #

Patch Set 4 : Random wallpaper before select one #

Total comments: 5

Patch Set 5 : nits #

Patch Set 6 : Merge to trunk #

Patch Set 7 : Merge and Fix license header #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -18 lines) Patch
M chrome/browser/chromeos/login/user_manager_impl.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager_impl.cc View 1 2 3 4 5 5 chunks +19 lines, -9 lines 0 comments Download
M chrome/browser/resources/chromeos/user_images_grid.js View 1 2 3 4 5 6 2 chunks +13 lines, -7 lines 0 comments Download
M chrome/browser/resources/options2/chromeos/set_wallpaper_options.js View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 31 (0 generated)
bshe
Hi Nikita. This CL address your comments in here: http://codereview.chromium.org/9839098/ It seems Demo/Stub/ephemeral state enabled ...
8 years, 9 months ago (2012-03-26 14:41:33 UTC) #1
Nikita (slow)
lgtm https://chromiumcodereview.appspot.com/9856016/diff/1/chrome/browser/chromeos/login/user_manager_impl.cc File chrome/browser/chromeos/login/user_manager_impl.cc (right): https://chromiumcodereview.appspot.com/9856016/diff/1/chrome/browser/chromeos/login/user_manager_impl.cc#newcode919 chrome/browser/chromeos/login/user_manager_impl.cc:919: if (IsLoggedInAsGuest() || !IsUserLoggedIn()) if (!IsUserLoggedIn()) guest is ...
8 years, 9 months ago (2012-03-26 15:31:58 UTC) #2
bshe
Inlined. Thanks for quick review! https://chromiumcodereview.appspot.com/9856016/diff/1/chrome/browser/chromeos/login/user_manager_impl.cc File chrome/browser/chromeos/login/user_manager_impl.cc (right): https://chromiumcodereview.appspot.com/9856016/diff/1/chrome/browser/chromeos/login/user_manager_impl.cc#newcode919 chrome/browser/chromeos/login/user_manager_impl.cc:919: if (IsLoggedInAsGuest() || !IsUserLoggedIn()) ...
8 years, 9 months ago (2012-03-26 16:12:10 UTC) #3
Nikita (slow)
https://chromiumcodereview.appspot.com/9856016/diff/1/chrome/browser/chromeos/login/user_manager_impl.cc File chrome/browser/chromeos/login/user_manager_impl.cc (right): https://chromiumcodereview.appspot.com/9856016/diff/1/chrome/browser/chromeos/login/user_manager_impl.cc#newcode919 chrome/browser/chromeos/login/user_manager_impl.cc:919: if (IsLoggedInAsGuest() || !IsUserLoggedIn()) On 2012/03/26 16:12:10, bshe wrote: ...
8 years, 9 months ago (2012-03-26 16:50:07 UTC) #4
Mattias Nissler (ping if slow)
Meta question: Why do we cache the wallpaper in local state and not in user ...
8 years, 9 months ago (2012-03-26 17:24:58 UTC) #5
Nikita (slow)
On 2012/03/26 17:24:58, Mattias Nissler wrote: > Meta question: Why do we cache the wallpaper ...
8 years, 9 months ago (2012-03-26 17:38:33 UTC) #6
Mattias Nissler (ping if slow)
On 2012/03/26 17:38:33, Nikita Kostylev wrote: > On 2012/03/26 17:24:58, Mattias Nissler wrote: > > ...
8 years, 9 months ago (2012-03-26 17:44:29 UTC) #7
Nikita (slow)
On 2012/03/26 17:44:29, Mattias Nissler wrote: > On 2012/03/26 17:38:33, Nikita Kostylev wrote: > > ...
8 years, 9 months ago (2012-03-26 17:51:51 UTC) #8
bshe
Thanks for suggestions. I will move the index from local state to preferences in a ...
8 years, 9 months ago (2012-03-26 18:18:37 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bshe@chromium.org/9856016/7001
8 years, 9 months ago (2012-03-26 19:34:25 UTC) #10
commit-bot: I haz the power
Can't apply patch for file chrome/browser/chromeos/login/user_manager_impl.h. While running patch -p1 --forward --force; patching file chrome/browser/chromeos/login/user_manager_impl.h ...
8 years, 9 months ago (2012-03-26 19:34:27 UTC) #11
bshe
+nkostylev could you please take another look? I was assigned another M19 bug which related ...
8 years, 9 months ago (2012-03-26 20:41:52 UTC) #12
James Hawkins
lgtm
8 years, 9 months ago (2012-03-26 20:44:04 UTC) #13
Ivan Korotkov
LGTM with nits http://codereview.chromium.org/9856016/diff/9001/chrome/browser/resources/chromeos/user_images_grid.js File chrome/browser/resources/chromeos/user_images_grid.js (right): http://codereview.chromium.org/9856016/diff/9001/chrome/browser/resources/chromeos/user_images_grid.js#newcode131 chrome/browser/resources/chromeos/user_images_grid.js:131: this.inProgramSelection_ = true; Can you replace ...
8 years, 9 months ago (2012-03-26 20:52:13 UTC) #14
bshe
Done and inlined. Thanks! http://codereview.chromium.org/9856016/diff/9001/chrome/browser/resources/chromeos/user_images_grid.js File chrome/browser/resources/chromeos/user_images_grid.js (right): http://codereview.chromium.org/9856016/diff/9001/chrome/browser/resources/chromeos/user_images_grid.js#newcode131 chrome/browser/resources/chromeos/user_images_grid.js:131: this.inProgramSelection_ = true; On 2012/03/26 ...
8 years, 9 months ago (2012-03-26 21:02:20 UTC) #15
Ivan Korotkov
http://codereview.chromium.org/9856016/diff/9001/chrome/browser/resources/chromeos/user_images_grid.js File chrome/browser/resources/chromeos/user_images_grid.js (right): http://codereview.chromium.org/9856016/diff/9001/chrome/browser/resources/chromeos/user_images_grid.js#newcode145 chrome/browser/resources/chromeos/user_images_grid.js:145: this.selectionModel.selectedIndex = index; On 2012/03/26 21:02:21, bshe wrote: > ...
8 years, 9 months ago (2012-03-26 21:05:30 UTC) #16
bshe
+Dave Could you please take a look? It seems the local time is 1am for ...
8 years, 9 months ago (2012-03-26 21:19:03 UTC) #17
bartfab (slow)
I cannot officially review as I am not a committer yet. Still, here is my ...
8 years, 9 months ago (2012-03-27 07:48:49 UTC) #18
bshe
Thanks! I will submit a separate CL for storing it to preference. And it will ...
8 years, 9 months ago (2012-03-27 13:52:58 UTC) #19
Nikita (slow)
I think that this CL should be abandoned and http://code.google.com/p/chromium/issues/detail?id=120215 http://code.google.com/p/chromium/issues/detail?id=120276 Fixed in a single ...
8 years, 9 months ago (2012-03-27 14:25:33 UTC) #20
bartfab (slow)
Wallpaper preferences were being written to Local Store before this CL landed already. Reverting and ...
8 years, 9 months ago (2012-03-27 15:03:49 UTC) #21
Nikita (slow)
lgtm
8 years, 9 months ago (2012-03-27 15:29:31 UTC) #22
bshe
On 2012/03/27 15:29:31, Nikita Kostylev wrote: > lgtm It seems the preference bug is punted ...
8 years, 9 months ago (2012-03-27 23:30:33 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bshe@chromium.org/9856016/13004
8 years, 9 months ago (2012-03-27 23:31:32 UTC) #24
commit-bot: I haz the power
Try job failure for 9856016-13004 (retry) on win_rel for step "browser_tests". It's a second try, ...
8 years, 9 months ago (2012-03-28 01:04:52 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bshe@chromium.org/9856016/13004
8 years, 9 months ago (2012-03-28 01:14:03 UTC) #26
commit-bot: I haz the power
Try job failure for 9856016-13004 (retry) on win_rel for step "browser_tests". It's a second try, ...
8 years, 9 months ago (2012-03-28 03:58:03 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bshe@chromium.org/9856016/13004
8 years, 9 months ago (2012-03-28 04:26:07 UTC) #28
commit-bot: I haz the power
Try job failure for 9856016-13004 (retry) on win_rel for step "browser_tests". It's a second try, ...
8 years, 9 months ago (2012-03-28 06:59:21 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bshe@chromium.org/9856016/13004
8 years, 9 months ago (2012-03-28 08:24:45 UTC) #30
commit-bot: I haz the power
8 years, 9 months ago (2012-03-28 08:34:34 UTC) #31
Try job failure for 9856016-13004 on win_rel for step "update".
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&nu...

Step "update" is always a major failure.
Look at the try server FAQ for more details.

Powered by Google App Engine
This is Rietveld 408576698