Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(395)

Issue 1117453002: Add gaia_id to ProfileInfoCache. (Closed)

Created:
5 years, 7 months ago by Roger Tawa OOO till Jul 10th
Modified:
5 years, 7 months ago
CC:
chromium-reviews, dbeam+watch-ntp_chromium.org, extensions-reviews_chromium.org, tfarina, mlamouri+watch-notifications_chromium.org, rginda+watch_chromium.org, oshima+watch_chromium.org, estade+watch_chromium.org, chromium-apps-reviews_chromium.org, peter+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, pedrosimonetti+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add gaia_id to ProfileInfoCache. Renaming sync_state to username. BUG=None Committed: https://crrev.com/e2265960703ea8840d20966ce38442e9aaa8eb0a Cr-Commit-Position: refs/heads/master@{#329244}

Patch Set 1 : rebased #

Patch Set 2 : Fix some tests #

Patch Set 3 : rebased #

Patch Set 4 : rebased #

Total comments: 6

Patch Set 5 : rebased #

Patch Set 6 : rebased #

Patch Set 7 : Address review comments #

Total comments: 12

Patch Set 8 : Fix comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+222 lines, -140 lines) Patch
M chrome/browser/chromeos/profiles/profile_list_chromeos.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/screenlock_private/screenlock_private_apitest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/notifications/message_center_settings_controller.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/notifications/message_center_settings_controller.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/profiles/avatar_menu.h View 1 2 3 4 5 6 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/profiles/avatar_menu.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/profiles/profile_info_cache.h View 1 4 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_info_cache.cc View 1 2 3 4 5 6 6 chunks +31 lines, -5 lines 0 comments Download
M chrome/browser/profiles/profile_info_cache_observer.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/profiles/profile_info_cache_unittest.cc View 1 17 chunks +50 lines, -35 lines 0 comments Download
M chrome/browser/profiles/profile_info_interface.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_list_desktop.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/profiles/profile_list_desktop_unittest.cc View 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/profiles/profile_manager.cc View 1 2 3 4 5 6 4 chunks +14 lines, -9 lines 0 comments Download
M chrome/browser/profiles/profile_manager_unittest.cc View 7 chunks +16 lines, -14 lines 0 comments Download
M chrome/browser/profiles/profile_metrics.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/profiles/profile_shortcut_manager_unittest_win.cc View 5 chunks +10 lines, -5 lines 0 comments Download
M chrome/browser/profiles/profile_window.cc View 5 chunks +7 lines, -5 lines 0 comments Download
M chrome/browser/signin/chrome_signin_client.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/signin/chrome_signin_client.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/signin/signin_global_error_unittest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm View 6 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc View 6 chunks +13 lines, -13 lines 0 comments Download
M chrome/browser/ui/views/profiles/new_avatar_button.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_login_handler.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_login_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/signin/inline_login_handler_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/signin/inline_login_handler_impl.cc View 1 2 3 4 5 6 7 3 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/signin/inline_login_ui_browsertest.cc View 1 2 3 7 chunks +10 lines, -10 lines 0 comments Download
M components/signin/core/browser/signin_client.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M components/signin/core/browser/signin_manager.cc View 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (16 generated)
Roger Tawa OOO till Jul 10th
Hi Monica, I am adding the gaia-id field to the profile info cache. Username and ...
5 years, 7 months ago (2015-05-01 17:44:21 UTC) #12
noms (inactive)
This looks great! LGTM % nits :) https://codereview.chromium.org/1117453002/diff/260001/chrome/browser/profiles/avatar_menu.h File chrome/browser/profiles/avatar_menu.h (right): https://codereview.chromium.org/1117453002/diff/260001/chrome/browser/profiles/avatar_menu.h#newcode59 chrome/browser/profiles/avatar_menu.h:59: // A ...
5 years, 7 months ago (2015-05-06 01:05:54 UTC) #13
Roger Tawa OOO till Jul 10th
Thanks Monica. Hi Alexei, Evan, Ken, Peter, Scott, Xiyuan, Can you please do owner review? ...
5 years, 7 months ago (2015-05-11 16:09:57 UTC) #15
Roger Tawa OOO till Jul 10th
Hi Scott, Please look at chrome/browser/ui/views/profiles/* Thanks
5 years, 7 months ago (2015-05-11 16:11:10 UTC) #17
Ken Rockot(use gerrit already)
extensions lgtm
5 years, 7 months ago (2015-05-11 16:13:14 UTC) #18
xiyuan
chromeos/ * LGTM https://codereview.chromium.org/1117453002/diff/320001/chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc File chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc (right): https://codereview.chromium.org/1117453002/diff/320001/chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc#newcode167 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc:167: cache->GetUserDataDir().AppendASCII("p2"), supervised_name, std::string(), nit: std::string() -> ...
5 years, 7 months ago (2015-05-11 16:38:17 UTC) #19
Peter Beverloo
chrome/browser/notifications/ lgtm
5 years, 7 months ago (2015-05-11 16:44:17 UTC) #20
Alexei Svitkine (slow)
cocoa lgtm
5 years, 7 months ago (2015-05-11 17:04:11 UTC) #21
Evan Stade
https://codereview.chromium.org/1117453002/diff/320001/chrome/browser/profiles/profile_info_cache.h File chrome/browser/profiles/profile_info_cache.h (right): https://codereview.chromium.org/1117453002/diff/320001/chrome/browser/profiles/profile_info_cache.h#newcode65 chrome/browser/profiles/profile_info_cache.h:65: base::string16 GetUserNameOfProfileAtIndex(size_t index) const override; like below, capitalization is ...
5 years, 7 months ago (2015-05-11 17:11:54 UTC) #23
Evan Stade
otherwise, webui lgtm
5 years, 7 months ago (2015-05-11 17:28:23 UTC) #24
sky
LGTM
5 years, 7 months ago (2015-05-11 17:45:17 UTC) #25
Roger Tawa OOO till Jul 10th
Thanks Evan, Xiyuan. See below for comments. https://codereview.chromium.org/1117453002/diff/320001/chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc File chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc (right): https://codereview.chromium.org/1117453002/diff/320001/chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc#newcode167 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc:167: cache->GetUserDataDir().AppendASCII("p2"), supervised_name, ...
5 years, 7 months ago (2015-05-11 20:34:36 UTC) #26
Evan Stade
https://codereview.chromium.org/1117453002/diff/320001/chrome/browser/profiles/profile_info_cache.h File chrome/browser/profiles/profile_info_cache.h (right): https://codereview.chromium.org/1117453002/diff/320001/chrome/browser/profiles/profile_info_cache.h#newcode75 chrome/browser/profiles/profile_info_cache.h:75: std::string GetGAIAIdOfProfileAtIndex(size_t index) const override; On 2015/05/11 20:34:36, Roger ...
5 years, 7 months ago (2015-05-11 20:35:38 UTC) #27
xiyuan
https://codereview.chromium.org/1117453002/diff/320001/chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc File chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc (right): https://codereview.chromium.org/1117453002/diff/320001/chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc#newcode167 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc:167: cache->GetUserDataDir().AppendASCII("p2"), supervised_name, std::string(), On 2015/05/11 20:34:36, Roger Tawa wrote: ...
5 years, 7 months ago (2015-05-11 21:30:27 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1117453002/340001
5 years, 7 months ago (2015-05-11 21:44:08 UTC) #31
commit-bot: I haz the power
Committed patchset #8 (id:340001)
5 years, 7 months ago (2015-05-11 21:58:29 UTC) #32
commit-bot: I haz the power
5 years, 7 months ago (2015-05-11 21:59:25 UTC) #33
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/e2265960703ea8840d20966ce38442e9aaa8eb0a
Cr-Commit-Position: refs/heads/master@{#329244}

Powered by Google App Engine
This is Rietveld 408576698