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

Issue 166903013: [invalidations] Added list of registered handlers to about:invalidations (Closed)

Created:
6 years, 10 months ago by mferreria
Modified:
6 years, 9 months ago
CC:
chromium-reviews, arv+watch_chromium.org, rlarocque
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

[invalidations] Added list of registered handlers to about:invalidations This patch is a follow-up to issue 147353011 (SVN Rev 250458) This patch adds the list of every InvalidationHandler registered in the active InvalidationService. This was needed because potentially an InvalidationHandler can be registered for invalidations but have no ObjectsId registered yet, so they wouldn't appear on neither the table nor the event log. This patch allows listing those handlers. BUG=263863 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=253677

Patch Set 1 #

Total comments: 18

Patch Set 2 : Fixed nits and some refactoring #

Total comments: 6

Patch Set 3 : Added some JSDoc, improved readability #

Total comments: 8

Patch Set 4 : Fixed nits and some unittests #

Patch Set 5 : Fixed a bad use of multiset erase #

Patch Set 6 : Rebased and restart the CQ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+145 lines, -88 lines) Patch
M chrome/browser/invalidation/invalidation_logger.h View 1 2 3 4 chunks +13 lines, -2 lines 0 comments Download
M chrome/browser/invalidation/invalidation_logger.cc View 1 2 3 4 2 chunks +17 lines, -7 lines 0 comments Download
M chrome/browser/invalidation/invalidation_logger_observer.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/invalidation/invalidation_logger_unittest.cc View 1 2 3 11 chunks +49 lines, -34 lines 0 comments Download
M chrome/browser/invalidation/ticl_invalidation_service.cc View 1 2 3 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/about_invalidations.html View 1 2 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/resources/about_invalidations.js View 1 2 6 chunks +22 lines, -11 lines 0 comments Download
M chrome/browser/ui/webui/invalidations_message_handler.h View 1 2 chunks +2 lines, -7 lines 0 comments Download
M chrome/browser/ui/webui/invalidations_message_handler.cc View 1 2 3 chunks +20 lines, -20 lines 0 comments Download
M chrome/test/data/webui/about_invalidations_browsertest.js View 1 2 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 41 (0 generated)
mferreria
I've marked down which files you should review for this patch. Thank you. rlarocque/zea: chrome/browser/invalidation/invalidation_logger.cc ...
6 years, 10 months ago (2014-02-22 00:05:28 UTC) #1
Dan Beam
mainly nits https://codereview.chromium.org/166903013/diff/1/chrome/browser/resources/about_invalidations.html File chrome/browser/resources/about_invalidations.html (right): https://codereview.chromium.org/166903013/diff/1/chrome/browser/resources/about_invalidations.html#newcode20 chrome/browser/resources/about_invalidations.html:20: <span class='lead'>Registered InvalidationHandlers:</span> class="lead" (everywhere, sorry you ...
6 years, 10 months ago (2014-02-22 00:44:15 UTC) #2
mferreria
Thank you for your comments Dan. https://codereview.chromium.org/166903013/diff/1/chrome/browser/resources/about_invalidations.html File chrome/browser/resources/about_invalidations.html (right): https://codereview.chromium.org/166903013/diff/1/chrome/browser/resources/about_invalidations.html#newcode20 chrome/browser/resources/about_invalidations.html:20: <span class='lead'>Registered InvalidationHandlers:</span> ...
6 years, 10 months ago (2014-02-22 01:31:49 UTC) #3
Dan Beam
lgtm https://codereview.chromium.org/166903013/diff/110001/chrome/browser/resources/about_invalidations.js File chrome/browser/resources/about_invalidations.js (right): https://codereview.chromium.org/166903013/diff/110001/chrome/browser/resources/about_invalidations.js#newcode59 chrome/browser/resources/about_invalidations.js:59: * @param {Array.<object>} allInvalidations The array of ObjectId ...
6 years, 10 months ago (2014-02-22 01:59:49 UTC) #4
mferreria
https://codereview.chromium.org/166903013/diff/110001/chrome/browser/resources/about_invalidations.js File chrome/browser/resources/about_invalidations.js (right): https://codereview.chromium.org/166903013/diff/110001/chrome/browser/resources/about_invalidations.js#newcode59 chrome/browser/resources/about_invalidations.js:59: * @param {Array.<object>} allInvalidations The array of ObjectId On ...
6 years, 10 months ago (2014-02-22 02:16:09 UTC) #5
mferreria
Nicolas, We just discussed with Richard that you should review these files and then he ...
6 years, 10 months ago (2014-02-22 02:27:06 UTC) #6
Nicolas Zea
LGTM with nits and a style comment. https://codereview.chromium.org/166903013/diff/210001/chrome/browser/invalidation/invalidation_logger.h File chrome/browser/invalidation/invalidation_logger.h (right): https://codereview.chromium.org/166903013/diff/210001/chrome/browser/invalidation/invalidation_logger.h#newcode8 chrome/browser/invalidation/invalidation_logger.h:8: #include <map> ...
6 years, 10 months ago (2014-02-24 21:44:18 UTC) #7
mferreria
https://codereview.chromium.org/166903013/diff/210001/chrome/browser/invalidation/invalidation_logger.h File chrome/browser/invalidation/invalidation_logger.h (right): https://codereview.chromium.org/166903013/diff/210001/chrome/browser/invalidation/invalidation_logger.h#newcode8 chrome/browser/invalidation/invalidation_logger.h:8: #include <map> On 2014/02/24 21:44:19, Nicolas Zea wrote: > ...
6 years, 10 months ago (2014-02-24 22:34:19 UTC) #8
rlarocque
nit for commit message: I think we usually refer to other CLs by SVN revision ...
6 years, 10 months ago (2014-02-24 22:42:57 UTC) #9
mferreria
The CQ bit was checked by [email protected]
6 years, 10 months ago (2014-02-24 22:45:55 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/166903013/240001
6 years, 10 months ago (2014-02-24 22:48:09 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by [email protected]
6 years, 10 months ago (2014-02-25 00:36:13 UTC) #12
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=269332
6 years, 10 months ago (2014-02-25 00:36:13 UTC) #13
mferreria
The CQ bit was checked by [email protected]
6 years, 10 months ago (2014-02-25 00:42:58 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/166903013/240001
6 years, 10 months ago (2014-02-25 00:47:41 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/166903013/240001
6 years, 10 months ago (2014-02-25 01:50:21 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by [email protected]
6 years, 10 months ago (2014-02-25 04:19:31 UTC) #17
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=269542
6 years, 10 months ago (2014-02-25 04:19:32 UTC) #18
mferreria
The CQ bit was checked by [email protected]
6 years, 10 months ago (2014-02-25 04:22:07 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/166903013/240001
6 years, 10 months ago (2014-02-25 04:23:30 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by [email protected]
6 years, 10 months ago (2014-02-25 04:53:03 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel
6 years, 10 months ago (2014-02-25 04:53:03 UTC) #22
mferreria
The CQ bit was checked by [email protected]
6 years, 10 months ago (2014-02-25 17:38:20 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/166903013/260001
6 years, 10 months ago (2014-02-25 17:39:05 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/166903013/260001
6 years, 10 months ago (2014-02-25 21:49:11 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/166903013/260001
6 years, 10 months ago (2014-02-25 22:14:02 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/166903013/260001
6 years, 10 months ago (2014-02-25 23:17:29 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/166903013/260001
6 years, 10 months ago (2014-02-26 00:04:34 UTC) #28
mferreria
The CQ bit was unchecked by [email protected]
6 years, 10 months ago (2014-02-26 01:44:49 UTC) #29
mferreria
The CQ bit was checked by [email protected]
6 years, 10 months ago (2014-02-26 01:45:20 UTC) #30
Paweł Hajdan Jr.
The CQ bit was unchecked by [email protected]
6 years, 10 months ago (2014-02-26 04:41:12 UTC) #31
Paweł Hajdan Jr.
The CQ bit was checked by [email protected]
6 years, 10 months ago (2014-02-26 05:28:15 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/166903013/260001
6 years, 10 months ago (2014-02-26 05:36:26 UTC) #33
mferreria
The CQ bit was unchecked by [email protected]
6 years, 10 months ago (2014-02-26 18:16:48 UTC) #34
mferreria
The CQ bit was checked by [email protected]
6 years, 10 months ago (2014-02-26 18:58:39 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/166903013/280001
6 years, 10 months ago (2014-02-26 18:58:48 UTC) #36
commit-bot: I haz the power
The CQ bit was unchecked by [email protected]
6 years, 10 months ago (2014-02-26 19:07:12 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel
6 years, 10 months ago (2014-02-26 19:07:13 UTC) #38
mferreria
The CQ bit was checked by [email protected]
6 years, 10 months ago (2014-02-26 20:51:15 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/166903013/280001
6 years, 10 months ago (2014-02-26 20:51:56 UTC) #40
commit-bot: I haz the power
6 years, 9 months ago (2014-02-27 01:46:25 UTC) #41
Message was sent while issue was closed.
Change committed as 253677

Powered by Google App Engine
This is Rietveld 408576698