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

Issue 1657913003: Refactor of ProfileInfoCache in c/b/notifications (Closed)

Created:
4 years, 10 months ago by lwchkg
Modified:
4 years, 10 months ago
CC:
chromium-reviews, Peter Beverloo, mlamouri+watch-notifications_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor of ProfileInfoCache in c/b/notifications ProfileInfoCache is being refactored into ProfileAttributesStorage and ProfileAttributesEntry, which use profile paths instead of numerical indices in the interface. See https://codereview.chromium.org/1599013002 for details. Member variable index is removed from message_center::NotifierGroup and its subclasses because it is apparently unused except in tests. BUG=305720 Committed: https://crrev.com/99addc8596703ef749ff20c9bf98dc29a80e37ea Cr-Commit-Position: refs/heads/master@{#374668}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Removed index from NotifierGroup and ProfileNotifierGroup #

Patch Set 3 : Fix errors #

Total comments: 13
Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -61 lines) Patch
M chrome/browser/notifications/message_center_settings_controller.h View 6 chunks +7 lines, -8 lines 2 comments Download
M chrome/browser/notifications/message_center_settings_controller.cc View 1 2 10 chunks +16 lines, -20 lines 7 comments Download
M chrome/browser/notifications/message_center_settings_controller_unittest.cc View 1 3 chunks +1 line, -9 lines 0 comments Download
M chrome/browser/notifications/notification_ui_manager_desktop.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/notifications/platform_notification_service_impl.cc View 1 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/profiles/profile_attributes_storage.h View 2 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_info_cache.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M ui/message_center/cocoa/settings_controller_unittest.mm View 1 1 chunk +1 line, -2 lines 0 comments Download
M ui/message_center/fake_notifier_settings_provider.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M ui/message_center/notifier_settings.h View 1 4 chunks +3 lines, -7 lines 4 comments Download
M ui/message_center/notifier_settings.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 32 (14 generated)
lwchkg
Dear all, This is still a WIP so there is no need to review yet. ...
4 years, 10 months ago (2016-02-03 17:40:12 UTC) #5
dewittj
https://codereview.chromium.org/1657913003/diff/1/chrome/browser/notifications/message_center_settings_controller.cc File chrome/browser/notifications/message_center_settings_controller.cc (right): https://codereview.chromium.org/1657913003/diff/1/chrome/browser/notifications/message_center_settings_controller.cc#newcode522 chrome/browser/notifications/message_center_settings_controller.cc:522: entry->GetPath())); On 2016/02/03 17:40:12, lwchkg wrote: > Do you ...
4 years, 10 months ago (2016-02-03 17:43:59 UTC) #6
lwchkg
> According to code search it isn't used at all. I wonder if that was ...
4 years, 10 months ago (2016-02-05 18:03:43 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1657913003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1657913003/40001
4 years, 10 months ago (2016-02-05 18:05:57 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromeos_x86-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_x86-generic_chromium_compile_only_ng/builds/89538) mac_chromium_compile_dbg_ng on ...
4 years, 10 months ago (2016-02-05 18:21:26 UTC) #14
lwchkg
Uploaded another patch. Please help me to start a CQ dry run again. https://codereview.chromium.org/1657913003/diff/60001/chrome/browser/notifications/message_center_settings_controller.cc File ...
4 years, 10 months ago (2016-02-07 16:36:24 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1657913003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1657913003/60001
4 years, 10 months ago (2016-02-08 17:38:12 UTC) #17
dewittj
lgtm https://codereview.chromium.org/1657913003/diff/60001/chrome/browser/notifications/message_center_settings_controller.cc File chrome/browser/notifications/message_center_settings_controller.cc (right): https://codereview.chromium.org/1657913003/diff/60001/chrome/browser/notifications/message_center_settings_controller.cc#newcode507 chrome/browser/notifications/message_center_settings_controller.cc:507: storage_.GetAllProfilesAttributes(); On 2016/02/07 16:36:23, lwchkg wrote: > Is ...
4 years, 10 months ago (2016-02-08 18:07:10 UTC) #18
lwchkg
https://codereview.chromium.org/1657913003/diff/60001/chrome/browser/notifications/message_center_settings_controller.cc File chrome/browser/notifications/message_center_settings_controller.cc (right): https://codereview.chromium.org/1657913003/diff/60001/chrome/browser/notifications/message_center_settings_controller.cc#newcode507 chrome/browser/notifications/message_center_settings_controller.cc:507: storage_.GetAllProfilesAttributes(); On 2016/02/08 18:07:10, dewittj wrote: > On 2016/02/07 ...
4 years, 10 months ago (2016-02-08 19:06:43 UTC) #19
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/19843)
4 years, 10 months ago (2016-02-08 19:09:27 UTC) #21
dewittj
https://codereview.chromium.org/1657913003/diff/60001/chrome/browser/notifications/message_center_settings_controller.cc File chrome/browser/notifications/message_center_settings_controller.cc (right): https://codereview.chromium.org/1657913003/diff/60001/chrome/browser/notifications/message_center_settings_controller.cc#newcode507 chrome/browser/notifications/message_center_settings_controller.cc:507: storage_.GetAllProfilesAttributes(); This code is used to show a UI ...
4 years, 10 months ago (2016-02-08 19:11:45 UTC) #22
lwchkg
https://codereview.chromium.org/1657913003/diff/60001/chrome/browser/notifications/message_center_settings_controller.cc File chrome/browser/notifications/message_center_settings_controller.cc (right): https://codereview.chromium.org/1657913003/diff/60001/chrome/browser/notifications/message_center_settings_controller.cc#newcode507 chrome/browser/notifications/message_center_settings_controller.cc:507: storage_.GetAllProfilesAttributes(); On 2016/02/08 19:11:45, dewittj wrote: > This code ...
4 years, 10 months ago (2016-02-08 19:22:00 UTC) #23
dewittj
https://codereview.chromium.org/1657913003/diff/60001/chrome/browser/notifications/message_center_settings_controller.cc File chrome/browser/notifications/message_center_settings_controller.cc (right): https://codereview.chromium.org/1657913003/diff/60001/chrome/browser/notifications/message_center_settings_controller.cc#newcode507 chrome/browser/notifications/message_center_settings_controller.cc:507: storage_.GetAllProfilesAttributes(); On 2016/02/08 19:22:00, lwchkg wrote: > On 2016/02/08 ...
4 years, 10 months ago (2016-02-08 19:28:03 UTC) #24
anthonyvd
c/b/profiles/* lgtm
4 years, 10 months ago (2016-02-08 21:48:35 UTC) #25
lwchkg
https://codereview.chromium.org/1657913003/diff/60001/chrome/browser/notifications/message_center_settings_controller.cc File chrome/browser/notifications/message_center_settings_controller.cc (right): https://codereview.chromium.org/1657913003/diff/60001/chrome/browser/notifications/message_center_settings_controller.cc#newcode507 chrome/browser/notifications/message_center_settings_controller.cc:507: storage_.GetAllProfilesAttributes(); On 2016/02/08 19:28:03, dewittj wrote: > On 2016/02/08 ...
4 years, 10 months ago (2016-02-10 14:57:24 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1657913003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1657913003/60001
4 years, 10 months ago (2016-02-10 14:58:13 UTC) #28
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 10 months ago (2016-02-10 16:15:07 UTC) #30
commit-bot: I haz the power
4 years, 10 months ago (2016-02-10 16:16:13 UTC) #32
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/99addc8596703ef749ff20c9bf98dc29a80e37ea
Cr-Commit-Position: refs/heads/master@{#374668}

Powered by Google App Engine
This is Rietveld 408576698