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

Issue 373083002: Fix incorrect usage of ProfileInfoCache in GAIAInfoUpdateService. (Closed)

Created:
6 years, 5 months ago by Marc Treib
Modified:
6 years, 5 months ago
CC:
chromium-reviews
Project:
chromium
Visibility:
Public.

Description

Fix incorrect usage of ProfileInfoCache in GAIAInfoUpdateService: SetGAIANameOfProfileAtIndex may change the profile index. Also add some warning comments in profile_info_cache.h. BUG=372381 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282095

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -1 line) Patch
M chrome/browser/profiles/gaia_info_update_service.cc View 1 chunk +4 lines, -1 line 1 comment Download
M chrome/browser/profiles/profile_info_cache.h View 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Marc Treib
PTAL!
6 years, 5 months ago (2014-07-08 13:31:05 UTC) #1
noms (inactive)
lgtm
6 years, 5 months ago (2014-07-09 14:57:55 UTC) #2
Marc Treib
The CQ bit was checked by treib@chromium.org
6 years, 5 months ago (2014-07-09 15:04:18 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/treib@chromium.org/373083002/1
6 years, 5 months ago (2014-07-09 15:05:36 UTC) #4
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 5 months ago (2014-07-09 17:35:47 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-09 17:49:52 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_dbg_simulator/builds/168723)
6 years, 5 months ago (2014-07-09 17:49:53 UTC) #7
Marc Treib
The CQ bit was checked by treib@chromium.org
6 years, 5 months ago (2014-07-09 18:46:12 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/treib@chromium.org/373083002/1
6 years, 5 months ago (2014-07-09 18:46:49 UTC) #9
commit-bot: I haz the power
Change committed as 282095
6 years, 5 months ago (2014-07-09 19:01:40 UTC) #10
Pam (message me for reviews)
6 years, 5 months ago (2014-07-10 22:39:14 UTC) #11
Message was sent while issue was closed.
https://codereview.chromium.org/373083002/diff/1/chrome/browser/profiles/gaia...
File chrome/browser/profiles/gaia_info_update_service.cc (right):

https://codereview.chromium.org/373083002/diff/1/chrome/browser/profiles/gaia...
chrome/browser/profiles/gaia_info_update_service.cc:126: profile_index =
cache.GetIndexOfProfileWithPath(profile_->GetPath());

Good catch -- please add a test for the bug.

Powered by Google App Engine
This is Rietveld 408576698