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

Issue 8771024: Making profile avatars and names sync. (Closed)

Created:
9 years ago by jwd
Modified:
9 years ago
Reviewers:
csilv, sail
CC:
chromium-reviews, rginda+watch_chromium.org, achuith+watch_chromium.org
Visibility:
Public.

Description

Making profile avatars and names sync. BUG=87658 TEST=Have two machines with chrome, both with multiple profiles and each with one profile signed in to the same account. Change avatar/name on one, and it will change on the other. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112856

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : Fixing #

Patch Set 4 : fixing a problem in profile_manager_unittest that I notticed #

Total comments: 1

Patch Set 5 : fixing a silly mistage that caused mac not to compile #

Patch Set 6 : updating to rlp's changes and fixing things so unit tests run and pass #

Total comments: 10

Patch Set 7 : adding comments and fixing problems #

Total comments: 4

Patch Set 8 : Fixing nits, lint errors and adding comments. #

Patch Set 9 : Fixing nits, lint errors and adding comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+195 lines, -43 lines) Patch
M chrome/browser/profiles/profile_impl.h View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 3 4 5 4 chunks +34 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_info_cache.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_info_cache.cc View 1 2 3 4 5 6 1 chunk +7 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_manager.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_manager.cc View 1 2 3 4 5 6 7 3 chunks +56 lines, -10 lines 0 comments Download
M chrome/browser/profiles/profile_manager_unittest.cc View 1 2 3 4 5 6 7 10 chunks +64 lines, -27 lines 0 comments Download
M chrome/browser/ui/webui/options/manage_profile_handler.cc View 1 2 3 4 5 6 7 4 chunks +16 lines, -4 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
jwd
A change made to the unit tests will cause all unit tests to fail. I ...
9 years ago (2011-12-02 02:35:43 UTC) #1
jwd
Tests are working now, thanks to rlp.
9 years ago (2011-12-02 18:56:47 UTC) #2
sail
http://codereview.chromium.org/8771024/diff/5015/chrome/browser/profiles/profile_info_cache.cc File chrome/browser/profiles/profile_info_cache.cc (right): http://codereview.chromium.org/8771024/diff/5015/chrome/browser/profiles/profile_info_cache.cc#newcode633 chrome/browser/profiles/profile_info_cache.cc:633: return index<kDefaultAvatarIconsCount; space before and after "<" http://codereview.chromium.org/8771024/diff/5015/chrome/browser/profiles/profile_manager.cc File ...
9 years ago (2011-12-02 19:07:10 UTC) #3
jwd
http://codereview.chromium.org/8771024/diff/5015/chrome/browser/profiles/profile_info_cache.cc File chrome/browser/profiles/profile_info_cache.cc (right): http://codereview.chromium.org/8771024/diff/5015/chrome/browser/profiles/profile_info_cache.cc#newcode633 chrome/browser/profiles/profile_info_cache.cc:633: return index<kDefaultAvatarIconsCount; On 2011/12/02 19:07:10, sail wrote: > space ...
9 years ago (2011-12-02 21:10:16 UTC) #4
sail
LGTM I think the manage_profile_handler.cc code is getting very very messy. Hopefully we can clean ...
9 years ago (2011-12-02 23:29:56 UTC) #5
csilv
lgtm http://codereview.chromium.org/8771024/diff/8001/chrome/browser/ui/webui/options/manage_profile_handler.cc File chrome/browser/ui/webui/options/manage_profile_handler.cc (right): http://codereview.chromium.org/8771024/diff/8001/chrome/browser/ui/webui/options/manage_profile_handler.cc#newcode165 chrome/browser/ui/webui/options/manage_profile_handler.cc:165: pref_service->SetString(prefs::kProfileName,UTF16ToUTF8(new_profile_name)); nit: space after comma
9 years ago (2011-12-02 23:40:18 UTC) #6
jwd
http://codereview.chromium.org/8771024/diff/8001/chrome/browser/ui/webui/options/manage_profile_handler.cc File chrome/browser/ui/webui/options/manage_profile_handler.cc (right): http://codereview.chromium.org/8771024/diff/8001/chrome/browser/ui/webui/options/manage_profile_handler.cc#newcode165 chrome/browser/ui/webui/options/manage_profile_handler.cc:165: pref_service->SetString(prefs::kProfileName,UTF16ToUTF8(new_profile_name)); On 2011/12/02 23:40:18, csilv wrote: > nit: space ...
9 years ago (2011-12-03 00:13:10 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jwd@chromium.org/8771024/14013
9 years ago (2011-12-03 00:13:27 UTC) #8
commit-bot: I haz the power
9 years ago (2011-12-03 03:16:40 UTC) #9
Change committed as 112856

Powered by Google App Engine
This is Rietveld 408576698