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

Issue 7155015: Store profile avatar to preferences (Closed)

Created:
9 years, 6 months ago by sail
Modified:
9 years, 5 months ago
CC:
chromium-reviews, Paweł Hajdan Jr.
Visibility:
Public.

Description

Multi-profiles: Use profile cache for menu With this change we now use the new ProfileInfoCache object to get information about profiles. As per the multi-profiles UI discussion we also hide the avatar if the user only has one local profile. BUG= TEST=

Patch Set 1 #

Total comments: 43

Patch Set 2 : address review comments #

Total comments: 6

Patch Set 3 : fix test #

Patch Set 4 : remove test code #

Patch Set 5 : Store profile avatar to preferences #

Patch Set 6 : fix clang error #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+211 lines, -88 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_info_cache.h View 1 2 3 4 5 6 7 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_info_cache.cc View 1 2 3 4 5 6 7 6 chunks +54 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_manager.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_manager.cc View 1 2 3 4 5 6 7 4 chunks +27 lines, -5 lines 0 comments Download
M chrome/browser/ui/toolbar/wrench_menu_model.cc View 1 2 3 4 5 6 7 5 chunks +24 lines, -20 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 4 5 6 7 2 chunks +15 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/frame/glass_browser_frame_view.h View 1 2 3 4 5 6 7 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/frame/glass_browser_frame_view.cc View 1 2 3 4 5 6 7 5 chunks +32 lines, -25 lines 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view.h View 1 2 3 4 5 6 7 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view.cc View 1 2 3 4 5 6 7 5 chunks +30 lines, -23 lines 0 comments Download
M content/common/notification_type.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
sail
9 years, 6 months ago (2011-06-15 05:20:15 UTC) #1
willchan no longer on Chromium
I took a quick skim and sent a bunch of nits. I'm going to defer ...
9 years, 6 months ago (2011-06-15 11:22:12 UTC) #2
Miranda Callahan
This is awesome -- I love the addition of a class to show the icons, ...
9 years, 6 months ago (2011-06-15 15:16:07 UTC) #3
sail
Hi all, I'm having trouble getting the preference code to work. Currently I get a ...
9 years, 6 months ago (2011-06-21 03:26:53 UTC) #4
willchan no longer on Chromium
http://codereview.chromium.org/7155015/diff/4001/chrome/browser/profiles/profile_info_cache.cc File chrome/browser/profiles/profile_info_cache.cc (right): http://codereview.chromium.org/7155015/diff/4001/chrome/browser/profiles/profile_info_cache.cc#newcode22 chrome/browser/profiles/profile_info_cache.cc:22: const char* kNameKey = "name"; Prefer `static const char ...
9 years, 6 months ago (2011-06-21 08:26:27 UTC) #5
sail
Awesome! Test now passes on my Mac. Building on Linux and Windows next. http://codereview.chromium.org/7155015/diff/4001/chrome/browser/profiles/profile_info_cache.cc File ...
9 years, 6 months ago (2011-06-21 16:28:13 UTC) #6
sail
9 years, 6 months ago (2011-06-21 16:58:58 UTC) #7
sail
Test now passes on windows and linux. Please take another look.
9 years, 6 months ago (2011-06-22 17:26:21 UTC) #8
sail
Ping!
9 years, 6 months ago (2011-06-27 14:12:39 UTC) #9
Miranda Callahan
LGTM -- looks great!
9 years, 6 months ago (2011-06-27 14:52:55 UTC) #10
commit-bot: I haz the power
Try job failure for 7155015-11001 (retry) on linux_clang for step "compile" (clobber build). It's a ...
9 years, 6 months ago (2011-06-27 15:59:56 UTC) #11
commit-bot: I haz the power
9 years, 6 months ago (2011-06-27 19:43:42 UTC) #12
Change committed as 90622

Powered by Google App Engine
This is Rietveld 408576698