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

Issue 1003843002: Add the NotificationDatabaseData structure and protobuf (Closed)

Created:
5 years, 9 months ago by Peter Beverloo
Modified:
5 years, 9 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, Michael van Ouwerkerk, dewittj
Base URL:
https://chromium.googlesource.com/chromium/src.git@n-db-GetNextNotificationId
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add the NotificationDatabaseData structure and protobuf This represents the payload of notifications to be stored in the notification database. Included are two conversion functions in order to make sure that we can isolate that operation in one, tested location. Design document: http://goo.gl/TciXVp BUG=447628 Committed: https://crrev.com/05cb4db3e707e8858588fdedeab831d91c5c7f5c Cr-Commit-Position: refs/heads/master@{#320497}

Patch Set 1 #

Total comments: 10

Patch Set 2 : comments #

Patch Set 3 : remove the anonymous namespace #

Unified diffs Side-by-side diffs Delta from patch set Stats (+253 lines, -3 lines) Patch
M content/browser/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A + content/browser/notifications/BUILD.gn View 1 chunk +2 lines, -3 lines 0 comments Download
A content/browser/notifications/notification_database_data.h View 1 1 chunk +45 lines, -0 lines 0 comments Download
A content/browser/notifications/notification_database_data.cc View 1 1 chunk +74 lines, -0 lines 0 comments Download
A content/browser/notifications/notification_database_data.proto View 1 1 chunk +41 lines, -0 lines 0 comments Download
A content/browser/notifications/notification_database_data_unittest.cc View 1 2 1 chunk +67 lines, -0 lines 0 comments Download
A content/browser/notifications/notification_proto.gyp View 1 chunk +17 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 2 chunks +3 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 2 chunks +2 lines, -0 lines 0 comments Download
M content/test/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
Peter Beverloo
+bauerb for review 90% of this is converting between a struct and a protobuf, and ...
5 years, 9 months ago (2015-03-12 17:01:05 UTC) #2
Bernhard Bauer
https://codereview.chromium.org/1003843002/diff/1/content/browser/notifications/notification_database_data.h File content/browser/notifications/notification_database_data.h (right): https://codereview.chromium.org/1003843002/diff/1/content/browser/notifications/notification_database_data.h#newcode39 content/browser/notifications/notification_database_data.h:39: CONTENT_EXPORT NotificationDatabaseDataProto ToNotificationDatabaseDataProto( Could you make these methods on ...
5 years, 9 months ago (2015-03-12 18:11:14 UTC) #3
Peter Beverloo
Thank you for the review! +avi for BUILD.gn changes. https://codereview.chromium.org/1003843002/diff/1/content/browser/notifications/notification_database_data.h File content/browser/notifications/notification_database_data.h (right): https://codereview.chromium.org/1003843002/diff/1/content/browser/notifications/notification_database_data.h#newcode39 content/browser/notifications/notification_database_data.h:39: ...
5 years, 9 months ago (2015-03-12 21:09:53 UTC) #4
Peter Beverloo
actually +avi
5 years, 9 months ago (2015-03-12 21:10:10 UTC) #6
Avi (use Gerrit)
I don't know the correctness of the dependencies. LGTM stamp anyway.
5 years, 9 months ago (2015-03-12 21:13:36 UTC) #7
Bernhard Bauer
LGTM with optional changes: https://codereview.chromium.org/1003843002/diff/1/content/browser/notifications/notification_database_data.proto File content/browser/notifications/notification_database_data.proto (right): https://codereview.chromium.org/1003843002/diff/1/content/browser/notifications/notification_database_data.proto#newcode16 content/browser/notifications/notification_database_data.proto:16: required int64 notification_id = 1; ...
5 years, 9 months ago (2015-03-13 12:27:19 UTC) #8
Peter Beverloo
> On 2015/03/12 21:09:52, Peter Beverloo wrote: > > On 2015/03/12 18:11:14, Bernhard Bauer wrote: ...
5 years, 9 months ago (2015-03-13 13:15:50 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1003843002/40001
5 years, 9 months ago (2015-03-13 13:18:30 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 9 months ago (2015-03-13 14:33:52 UTC) #13
commit-bot: I haz the power
5 years, 9 months ago (2015-03-13 14:34:37 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/05cb4db3e707e8858588fdedeab831d91c5c7f5c
Cr-Commit-Position: refs/heads/master@{#320497}

Powered by Google App Engine
This is Rietveld 408576698