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

Issue 12717010: Widen Data Pipes and newer protobufs (Closed)

Created:
7 years, 9 months ago by Pete Williamson
Modified:
7 years, 8 months ago
CC:
chromium-reviews, Raghu Simha, haitaol1, akalin, tim (not reviewing)
Base URL:
http://git.chromium.org/chromium/src.git@newProtobufs
Visibility:
Public.

Description

Widen the data pipes between Synced Notifications and Rich Notifications Update to the latest protobufs, rearranging them for maintainability. Id has been changed to Key everywhere. DefaultDestination fields added. Message_type now used. First external id removed. Functions added for buttons button count and notification count Button action fields added. Added new accessors for time priority, and button data, and associated tests We now use Dismissed instead of Read for setting a notification state. Adapt to the newer protobufs from the server side for synced notifications BUG=222077 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=191443

Patch Set 1 #

Patch Set 2 : Widen Data Paths from Synced Notifications to Rich Notifications #

Patch Set 3 : Synced Notifications - newer protobufs and wider data paths #

Patch Set 4 : Synced Notifications - newer protobufs and wider data paths 2 #

Total comments: 16

Patch Set 5 : Synced Notifications newer protobufs - CR fixes per DCheng #

Total comments: 12

Patch Set 6 : Synced Notifications newer protobufs - add new unit test and rename accessors #

Total comments: 10

Patch Set 7 : Synced Notifications newer protobufs - improve unit test robustness #

Total comments: 14

Patch Set 8 : Synced Notifications newer protobufs - add priority enum adapter. #

Total comments: 4

Patch Set 9 : Synced Notifications newer protobufs - normalize protobuf message ordering #

Patch Set 10 : Synced Notifications newer protobufs - fix linux compile #

Patch Set 11 : Synced Notifications newer protobufs - fix mac compile #

Patch Set 12 : Synced Notifications newer protobufs - fix #

Patch Set 13 : Synced Notifications newer protobufs - more mac compile fixes #

Patch Set 14 : Synced Notifications newer protobufs - another linux compile fix #

Patch Set 15 : Synced Notifications newer protobuf - another linux fix #

Patch Set 16 : Synced Notifications newer protobufs - one more linux fix #

Patch Set 17 : Synced Notifications newer protobufs - still one more linux fix #

Patch Set 18 : Synced Notifications newer protobufs - fix mac and linux unit tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1099 lines, -317 lines) Patch
M chrome/browser/notifications/notification.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/notifications/sync_notifier/chrome_notifier_delegate.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/notifications/sync_notifier/chrome_notifier_service.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 8 chunks +114 lines, -34 lines 0 comments Download
M chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 chunks +397 lines, -66 lines 0 comments Download
M chrome/browser/notifications/sync_notifier/synced_notification.h View 1 2 3 4 5 6 7 2 chunks +28 lines, -27 lines 0 comments Download
M chrome/browser/notifications/sync_notifier/synced_notification.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 7 chunks +195 lines, -93 lines 0 comments Download
M chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 12 chunks +253 lines, -29 lines 0 comments Download
M sync/protocol/synced_notification_data.proto View 1 2 3 4 5 6 7 8 2 chunks +27 lines, -3 lines 0 comments Download
M sync/protocol/synced_notification_render.proto View 1 2 3 4 5 6 7 8 3 chunks +81 lines, -62 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Pete Williamson
Zea@: Please review protobuf changes MikeT@: Please review everything under notifications DCheng@: Please take a ...
7 years, 9 months ago (2013-03-25 23:21:14 UTC) #1
dcheng
https://codereview.chromium.org/12717010/diff/7001/chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc File chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc (right): https://codereview.chromium.org/12717010/diff/7001/chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc#newcode194 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc:194: return scoped_ptr<SyncedNotification>(); Indent is wrong. https://codereview.chromium.org/12717010/diff/7001/chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc#newcode286 chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc:286: UTF8ToUTF16(notification->button_one_icon_url()); Why ...
7 years, 9 months ago (2013-03-26 07:48:50 UTC) #2
Pete Williamson
MikeT@ - There is a question for you in my answers to Daniel, please look ...
7 years, 9 months ago (2013-03-26 17:18:30 UTC) #3
dcheng
https://codereview.chromium.org/12717010/diff/7001/chrome/browser/notifications/sync_notifier/synced_notification.h File chrome/browser/notifications/sync_notifier/synced_notification.h (right): https://codereview.chromium.org/12717010/diff/7001/chrome/browser/notifications/sync_notifier/synced_notification.h#newcode51 chrome/browser/notifications/sync_notifier/synced_notification.h:51: double creation_time() const; On 2013/03/26 17:18:30, Pete Williamson wrote: ...
7 years, 9 months ago (2013-03-26 17:49:29 UTC) #4
Pete Williamson
CR changes per DCheng. https://codereview.chromium.org/12717010/diff/7001/chrome/browser/notifications/sync_notifier/synced_notification.h File chrome/browser/notifications/sync_notifier/synced_notification.h (right): https://codereview.chromium.org/12717010/diff/7001/chrome/browser/notifications/sync_notifier/synced_notification.h#newcode51 chrome/browser/notifications/sync_notifier/synced_notification.h:51: double creation_time() const; On 2013/03/26 ...
7 years, 9 months ago (2013-03-27 17:07:52 UTC) #5
dcheng
Looking pretty good. Just a few minor comments from me. https://codereview.chromium.org/12717010/diff/20001/chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc File chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc (right): https://codereview.chromium.org/12717010/diff/20001/chrome/browser/notifications/sync_notifier/chrome_notifier_service.cc#newcode304 ...
7 years, 9 months ago (2013-03-28 00:03:19 UTC) #6
Pete Williamson
CR fixes per DCheng, making unit tests more robust to addition of new protobuf fields. ...
7 years, 9 months ago (2013-03-28 00:38:09 UTC) #7
miket_OOO
LGTM -- sorry my comments are spread across multiple drafts; I worked on this review ...
7 years, 9 months ago (2013-03-28 01:03:50 UTC) #8
Pete Williamson
ping zea@ - you are the only reviewer left. Answered MikeT's feedback, and added a ...
7 years, 9 months ago (2013-03-28 17:16:12 UTC) #9
miket_OOO
> Same answer, let's fix both this and the API in another checkin. These are ...
7 years, 9 months ago (2013-03-28 17:26:23 UTC) #10
Nicolas Zea
LGTM with some nits https://codereview.chromium.org/12717010/diff/8009/sync/protocol/synced_notification_data.proto File sync/protocol/synced_notification_data.proto (right): https://codereview.chromium.org/12717010/diff/8009/sync/protocol/synced_notification_data.proto#newcode108 sync/protocol/synced_notification_data.proto:108: message MapData { Could you ...
7 years, 9 months ago (2013-03-28 17:43:41 UTC) #11
dcheng
LGTM as well with a few nits. https://codereview.chromium.org/12717010/diff/31001/chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc File chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc (right): https://codereview.chromium.org/12717010/diff/31001/chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc#newcode115 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc:115: StubNotificationUIManager() : ...
7 years, 9 months ago (2013-03-28 18:10:17 UTC) #12
Pete Williamson
Answers to nits. https://codereview.chromium.org/12717010/diff/8009/sync/protocol/synced_notification_data.proto File sync/protocol/synced_notification_data.proto (right): https://codereview.chromium.org/12717010/diff/8009/sync/protocol/synced_notification_data.proto#newcode108 sync/protocol/synced_notification_data.proto:108: message MapData { On 2013/03/28 17:43:41, ...
7 years, 9 months ago (2013-03-28 19:58:59 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/petewil@chromium.org/12717010/38001
7 years, 9 months ago (2013-03-28 19:59:31 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/petewil@chromium.org/12717010/79001
7 years, 8 months ago (2013-03-29 18:44:12 UTC) #15
commit-bot: I haz the power
7 years, 8 months ago (2013-03-29 20:58:56 UTC) #16
Message was sent while issue was closed.
Change committed as 191443

Powered by Google App Engine
This is Rietveld 408576698