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

Issue 147763008: [GCM] Unregistration request (Closed)

Created:
6 years, 10 months ago by fgorski
Modified:
6 years, 10 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

[GCM] Unregistration request Wrapper over URL fetcher allowing for making request to remove registration of apps from the GCM. It pretends to be an API call instead of GCM client infrastructure code on purpose, to omit certain server side logic. Patch includes: * Implementation of the request using a URL fetcher with delete request * Parsing of the response, with error handling * triggering of the retry logic based on the provided backoff policy and when the last error allows to retry * UMA logging of the request result. BUG=284553 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251496

Patch Set 1 #

Patch Set 2 : Reordering enum description in histograms.xml #

Total comments: 6

Patch Set 3 : Addressing feedback form Jian Li #

Total comments: 2

Patch Set 4 : Final updates based on CR #

Unified diffs Side-by-side diffs Delta from patch set Stats (+617 lines, -0 lines) Patch
A google_apis/gcm/engine/unregistration_request.h View 1 2 3 1 chunk +82 lines, -0 lines 0 comments Download
A google_apis/gcm/engine/unregistration_request.cc View 1 2 3 1 chunk +226 lines, -0 lines 0 comments Download
A google_apis/gcm/engine/unregistration_request_unittest.cc View 1 2 1 chunk +288 lines, -0 lines 0 comments Download
M google_apis/gcm/gcm.gyp View 2 chunks +3 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
fgorski
asvitkine@chromium.org: Please review changes in histograms zea@chromium.org: Please review changes in everything else juyik@chromium.org: Please ...
6 years, 10 months ago (2014-02-13 22:57:34 UTC) #1
juyik
On 2014/02/13 22:57:34, Filip Gorski wrote: > asvitkine@chromium.org: Please review changes in > histograms > ...
6 years, 10 months ago (2014-02-14 03:26:04 UTC) #2
fgorski
On 2014/02/14 03:26:04, juyik wrote: > On 2014/02/13 22:57:34, Filip Gorski wrote: > > asvitkine@chromium.org: ...
6 years, 10 months ago (2014-02-14 03:57:47 UTC) #3
juyik
On 2014/02/14 03:57:47, Filip Gorski wrote: > On 2014/02/14 03:26:04, juyik wrote: > > On ...
6 years, 10 months ago (2014-02-14 03:59:12 UTC) #4
Alexei Svitkine (slow)
histograms lgtm
6 years, 10 months ago (2014-02-14 14:45:32 UTC) #5
jianli
It seems that UnregistrationRequest is very similar to RegistrationRequest. Is it possible to merge these ...
6 years, 10 months ago (2014-02-14 18:36:18 UTC) #6
fgorski
Updated. https://codereview.chromium.org/147763008/diff/400001/google_apis/gcm/engine/unregistration_request.cc File google_apis/gcm/engine/unregistration_request.cc (right): https://codereview.chromium.org/147763008/diff/400001/google_apis/gcm/engine/unregistration_request.cc#newcode76 google_apis/gcm/engine/unregistration_request.cc:76: std::string response; On 2014/02/14 18:36:18, jianli wrote: > ...
6 years, 10 months ago (2014-02-14 18:48:41 UTC) #7
jianli
lgtm
6 years, 10 months ago (2014-02-14 18:54:13 UTC) #8
Nicolas Zea
LGTM https://codereview.chromium.org/147763008/diff/400001/google_apis/gcm/engine/unregistration_request.h File google_apis/gcm/engine/unregistration_request.h (right): https://codereview.chromium.org/147763008/diff/400001/google_apis/gcm/engine/unregistration_request.h#newcode11 google_apis/gcm/engine/unregistration_request.h:11: #include "base/basictypes.h" keep basic types (defines uint64 and ...
6 years, 10 months ago (2014-02-14 19:05:02 UTC) #9
fgorski
Updated all. Thanks for review. https://codereview.chromium.org/147763008/diff/400001/google_apis/gcm/engine/unregistration_request.h File google_apis/gcm/engine/unregistration_request.h (right): https://codereview.chromium.org/147763008/diff/400001/google_apis/gcm/engine/unregistration_request.h#newcode11 google_apis/gcm/engine/unregistration_request.h:11: #include "base/basictypes.h" On 2014/02/14 ...
6 years, 10 months ago (2014-02-14 19:56:34 UTC) #10
fgorski
The CQ bit was checked by fgorski@chromium.org
6 years, 10 months ago (2014-02-14 19:56:37 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fgorski@chromium.org/147763008/640001
6 years, 10 months ago (2014-02-14 20:00:20 UTC) #12
commit-bot: I haz the power
6 years, 10 months ago (2014-02-15 03:39:56 UTC) #13
Message was sent while issue was closed.
Change committed as 251496

Powered by Google App Engine
This is Rietveld 408576698