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

Issue 56353002: [GCM] Add RMQ storage and MCS message passing support (Closed)

Created:
7 years, 1 month ago by Nicolas Zea
Modified:
7 years, 1 month ago
Reviewers:
Lei Zhang, dgrogan, Jói, fgorski
CC:
chromium-reviews, Jói
Visibility:
Public.

Description

[GCM] Add RMQ storage and MCS message passing support The RMQ store will contain both the pending outgoing messages as well as the unacknolwedged incoming message ids. Additionally, the device credentials are stored there, with the security token encrypted using the local system encryptor. In order to support lightweight message passing across threads a MCSMessage class is introduced. BUG=284553 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=234413

Patch Set 1 #

Patch Set 2 : Self review #

Total comments: 14

Patch Set 3 : Address comments #

Patch Set 4 : fix compile #

Patch Set 5 : fix compile #

Patch Set 6 : Rebase #

Patch Set 7 : Fix windows #

Patch Set 8 : fix windows again #

Patch Set 9 : really fix windows again #

Patch Set 10 : really really? #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1069 lines, -0 lines) Patch
M google_apis/gcm/DEPS View 1 chunk +2 lines, -0 lines 0 comments Download
A google_apis/gcm/base/mcs_message.h View 1 2 1 chunk +85 lines, -0 lines 0 comments Download
A google_apis/gcm/base/mcs_message.cc View 1 2 3 4 5 6 1 chunk +78 lines, -0 lines 0 comments Download
A google_apis/gcm/engine/rmq_store.h View 1 2 3 4 5 6 7 8 9 1 chunk +102 lines, -0 lines 0 comments Download
A google_apis/gcm/engine/rmq_store.cc View 1 2 3 4 5 6 7 8 1 chunk +491 lines, -0 lines 0 comments Download
A google_apis/gcm/engine/rmq_store_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +303 lines, -0 lines 0 comments Download
M google_apis/gcm/gcm.gyp View 1 2 3 4 5 6 7 8 9 3 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Nicolas Zea
PTAL
7 years, 1 month ago (2013-11-01 18:30:40 UTC) #1
fgorski
Things look mostly good. Fix the comments and consider nits. https://codereview.chromium.org/56353002/diff/30001/google_apis/gcm/base/mcs_message.cc File google_apis/gcm/base/mcs_message.cc (right): https://codereview.chromium.org/56353002/diff/30001/google_apis/gcm/base/mcs_message.cc#newcode73 ...
7 years, 1 month ago (2013-11-01 20:26:10 UTC) #2
Nicolas Zea
PTAL https://codereview.chromium.org/56353002/diff/30001/google_apis/gcm/base/mcs_message.cc File google_apis/gcm/base/mcs_message.cc (right): https://codereview.chromium.org/56353002/diff/30001/google_apis/gcm/base/mcs_message.cc#newcode73 google_apis/gcm/base/mcs_message.cc:73: scoped_ptr<google::protobuf::MessageLite> owned_protobuf(GetProtobuf().New()); On 2013/11/01 20:26:10, Filip Gorski wrote: ...
7 years, 1 month ago (2013-11-01 21:18:49 UTC) #3
fgorski
lgtm now
7 years, 1 month ago (2013-11-01 23:12:59 UTC) #4
Nicolas Zea
+thestig for including encryptor in DEPS. It's used to encrypt a secret before persisting (much ...
7 years, 1 month ago (2013-11-02 00:20:40 UTC) #5
Lei Zhang
joi: Can google_apis/ use compononents/ ?
7 years, 1 month ago (2013-11-02 05:27:37 UTC) #6
Jói
Yes, DEPS change LGTM.
7 years, 1 month ago (2013-11-04 10:42:50 UTC) #7
Lei Zhang
lgtm++
7 years, 1 month ago (2013-11-04 17:55:30 UTC) #8
Nicolas Zea
+David for leveldb owners.
7 years, 1 month ago (2013-11-11 22:27:36 UTC) #9
dgrogan
lgtm
7 years, 1 month ago (2013-11-11 22:31:43 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/56353002/410001
7 years, 1 month ago (2013-11-11 22:37:08 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/56353002/680001
7 years, 1 month ago (2013-11-12 01:41:54 UTC) #12
commit-bot: I haz the power
7 years, 1 month ago (2013-11-12 05:23:52 UTC) #13
Message was sent while issue was closed.
Change committed as 234413

Powered by Google App Engine
This is Rietveld 408576698