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

Issue 710183003: GCM Directive fix (Closed)

Created:
6 years, 1 month ago by Charlie
Modified:
6 years, 1 month ago
Reviewers:
rkc
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

GCM Directive fix. We need to handle directives without op ids, but we should limit their TTL. BUG=431871 Committed: https://crrev.com/9baadc9a0fe2f708d553070605d388547f5c3446 Cr-Commit-Position: refs/heads/master@{#303542}

Patch Set 1 #

Patch Set 2 : Adding TTL limit #

Patch Set 3 : Fixing tokens in test #

Patch Set 4 : Reverting ancillary changes #

Patch Set 5 : Dropping TTL limit to 1 minute #

Total comments: 2

Patch Set 6 : FIxing nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -6 lines) Patch
M components/copresence/handlers/directive_handler.cc View 1 2 3 4 5 4 chunks +25 lines, -3 lines 0 comments Download
M components/copresence/handlers/directive_handler_unittest.cc View 1 2 3 4 6 chunks +40 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (2 generated)
Charlie
6 years, 1 month ago (2014-11-10 21:32:02 UTC) #2
Charlie
On 2014/11/10 21:32:02, Charlie wrote: Hey Rahul, Ben and I tested GCM directives this morning, ...
6 years, 1 month ago (2014-11-10 21:36:45 UTC) #3
brazon
On 2014/11/10 21:36:45, Charlie wrote: > On 2014/11/10 21:32:02, Charlie wrote: > > Hey Rahul, ...
6 years, 1 month ago (2014-11-10 21:52:07 UTC) #4
rkc
I am not sure if this is a good idea. This means that *no one* ...
6 years, 1 month ago (2014-11-10 22:03:06 UTC) #5
rkc
If we are going to have uncancelable directives, they should be very short, maybe 15-30s ...
6 years, 1 month ago (2014-11-10 22:04:09 UTC) #6
Charlie
I did have some similar concerns. How about using some kind of fingerprint of the ...
6 years, 1 month ago (2014-11-10 22:12:34 UTC) #7
rkc
I am okay with a 1m TTL as the cap. The server can of course ...
6 years, 1 month ago (2014-11-10 22:24:44 UTC) #8
chromium-reviews
Ok I'll take out the header file changes. But since we're adding TTL limiting functionality, ...
6 years, 1 month ago (2014-11-10 22:29:38 UTC) #9
chromium-reviews
FYI the server currently seems to be setting TTL = 30 seconds in GCM pings. ...
6 years, 1 month ago (2014-11-10 22:44:14 UTC) #10
rkc
lgtm % comment https://codereview.chromium.org/710183003/diff/80001/components/copresence/handlers/directive_handler.cc File components/copresence/handlers/directive_handler.cc (right): https://codereview.chromium.org/710183003/diff/80001/components/copresence/handlers/directive_handler.cc#newcode61 components/copresence/handlers/directive_handler.cc:61: DVLOG(2) << "No operation associated with ...
6 years, 1 month ago (2014-11-10 22:52:54 UTC) #11
Charlie
https://codereview.chromium.org/710183003/diff/80001/components/copresence/handlers/directive_handler.cc File components/copresence/handlers/directive_handler.cc (right): https://codereview.chromium.org/710183003/diff/80001/components/copresence/handlers/directive_handler.cc#newcode61 components/copresence/handlers/directive_handler.cc:61: DVLOG(2) << "No operation associated with directive. Setting op ...
6 years, 1 month ago (2014-11-10 23:04:13 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/710183003/100001
6 years, 1 month ago (2014-11-10 23:08:04 UTC) #14
commit-bot: I haz the power
Committed patchset #6 (id:100001)
6 years, 1 month ago (2014-11-11 00:06:42 UTC) #15
commit-bot: I haz the power
6 years, 1 month ago (2014-11-11 00:07:19 UTC) #16
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/9baadc9a0fe2f708d553070605d388547f5c3446
Cr-Commit-Position: refs/heads/master@{#303542}

Powered by Google App Engine
This is Rietveld 408576698