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

Issue 1599013002: Follow-up of Improve the ProfileInfoCache API (Closed)

Created:
4 years, 11 months ago by lwchkg
Modified:
4 years, 11 months ago
Reviewers:
Mike Lerman, anthonyvd, sky
CC:
chromium-reviews, rginda+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Follow-up of Improve the ProfileInfoCache API This is a follow-up of https://codereview.chromium.org/1214483002/, which adds functions in profile_manager.cc and testing_profile_manager.cc that returns ProfileAttributesStorage. We should obtain ProfileAttributesEntry using either GetProfileAttributesWithPath() or GetAllProfilesAttributes() in ProfileAttributesStorage. A sample use of the ProfileAttributesStorage is found in profile_statistics.cc (Note: profile_statistics.cc and also profile_statistics_unittest.cc needs a few naming changes to reflect the use of the new interface. However, to make things simple, these changes are not included in this CL.) BUG=305720 Committed: https://crrev.com/94dacdb8289038b7fa68c9f2bd57d5311b2cb5cb Cr-Commit-Position: refs/heads/master@{#370831}

Patch Set 1 #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -6 lines) Patch
M chrome/browser/profiles/profile_manager.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_manager.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_statistics.cc View 3 chunks +4 lines, -6 lines 5 comments Download
M chrome/test/base/testing_profile_manager.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/test/base/testing_profile_manager.cc View 2 chunks +5 lines, -0 lines 2 comments Download

Messages

Total messages: 28 (14 generated)
lwchkg
Dear Anthony and Mike, PTAL. Regards, WC Leung. https://codereview.chromium.org/1599013002/diff/1/chrome/browser/profiles/profile_statistics.cc File chrome/browser/profiles/profile_statistics.cc (right): https://codereview.chromium.org/1599013002/diff/1/chrome/browser/profiles/profile_statistics.cc#newcode354 chrome/browser/profiles/profile_statistics.cc:354: ProfileCategoryStats ...
4 years, 11 months ago (2016-01-17 12:33:28 UTC) #7
anthonyvd
Thanks for this, I only have a single comment. https://codereview.chromium.org/1599013002/diff/1/chrome/browser/profiles/profile_statistics.cc File chrome/browser/profiles/profile_statistics.cc (right): https://codereview.chromium.org/1599013002/diff/1/chrome/browser/profiles/profile_statistics.cc#newcode354 chrome/browser/profiles/profile_statistics.cc:354: ...
4 years, 11 months ago (2016-01-18 15:22:31 UTC) #8
lwchkg
Here's my reply. https://codereview.chromium.org/1599013002/diff/1/chrome/browser/profiles/profile_statistics.cc File chrome/browser/profiles/profile_statistics.cc (right): https://codereview.chromium.org/1599013002/diff/1/chrome/browser/profiles/profile_statistics.cc#newcode354 chrome/browser/profiles/profile_statistics.cc:354: ProfileCategoryStats GetProfileStatisticsFromCache( On 2016/01/18 15:22:31, anthonyvd ...
4 years, 11 months ago (2016-01-18 17:54:02 UTC) #9
Mike Lerman
This seems good to me, but I'll let anthony do final l-g-t-m. https://codereview.chromium.org/1599013002/diff/1/chrome/browser/profiles/profile_statistics.cc File chrome/browser/profiles/profile_statistics.cc ...
4 years, 11 months ago (2016-01-19 16:57:46 UTC) #10
anthonyvd
On 2016/01/19 16:57:46, Mike Lerman wrote: > This seems good to me, but I'll let ...
4 years, 11 months ago (2016-01-20 14:43:40 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1599013002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1599013002/1
4 years, 11 months ago (2016-01-20 14:51:35 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/137196)
4 years, 11 months ago (2016-01-20 15:00:56 UTC) #15
lwchkg
Dear Scott, PTAL. I need your review on chrome/test/base/*. Thanks. Regards, WC Leung.
4 years, 11 months ago (2016-01-20 15:12:10 UTC) #17
sky
https://codereview.chromium.org/1599013002/diff/1/chrome/test/base/testing_profile_manager.cc File chrome/test/base/testing_profile_manager.cc (right): https://codereview.chromium.org/1599013002/diff/1/chrome/test/base/testing_profile_manager.cc#newcode240 chrome/test/base/testing_profile_manager.cc:240: return profile_info_cache(); Why do you need this function? Can't ...
4 years, 11 months ago (2016-01-20 16:19:55 UTC) #18
lwchkg
Scott: Please see my reply below. https://codereview.chromium.org/1599013002/diff/1/chrome/test/base/testing_profile_manager.cc File chrome/test/base/testing_profile_manager.cc (right): https://codereview.chromium.org/1599013002/diff/1/chrome/test/base/testing_profile_manager.cc#newcode240 chrome/test/base/testing_profile_manager.cc:240: return profile_info_cache(); On ...
4 years, 11 months ago (2016-01-21 14:41:18 UTC) #19
sky
Ok, LGTM
4 years, 11 months ago (2016-01-21 18:55:11 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1599013002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1599013002/1
4 years, 11 months ago (2016-01-21 22:37:29 UTC) #22
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 11 months ago (2016-01-21 23:38:53 UTC) #26
commit-bot: I haz the power
4 years, 11 months ago (2016-01-21 23:40:15 UTC) #28
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/94dacdb8289038b7fa68c9f2bd57d5311b2cb5cb
Cr-Commit-Position: refs/heads/master@{#370831}

Powered by Google App Engine
This is Rietveld 408576698