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

Issue 252933002: [GCM] fixing G-settings initialization from an empty store (Closed)

Created:
6 years, 7 months ago by fgorski
Modified:
6 years, 7 months ago
Reviewers:
Nicolas Zea, jianli
CC:
chromium-reviews
Visibility:
Public.

Description

[GCM] fixing G-settings initialization from an empty store Adding a test for the problem Fixing the problem Adding a minimum checkin interval BUG=359254 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267049

Patch Set 1 #

Total comments: 2

Patch Set 2 : Adding tests for missing settings #

Patch Set 3 : Updating checkin interval to minimum when below. Adding test" #

Total comments: 8

Patch Set 4 : Exposing GServicesSettings::kMinimumCheckinInterval. Applying feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -43 lines) Patch
M google_apis/gcm/engine/gservices_settings.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M google_apis/gcm/engine/gservices_settings.cc View 1 2 3 2 chunks +54 lines, -41 lines 0 comments Download
M google_apis/gcm/engine/gservices_settings_unittest.cc View 1 2 3 4 chunks +58 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
fgorski
PTAL.
6 years, 7 months ago (2014-04-28 17:26:44 UTC) #1
jianli
We should also add a test to cover that the checkin interval read was smaller ...
6 years, 7 months ago (2014-04-28 17:33:49 UTC) #2
fgorski
Updated. https://codereview.chromium.org/252933002/diff/1/google_apis/gcm/engine/gservices_settings.cc File google_apis/gcm/engine/gservices_settings.cc (right): https://codereview.chromium.org/252933002/diff/1/google_apis/gcm/engine/gservices_settings.cc#newcode92 google_apis/gcm/engine/gservices_settings.cc:92: if (new_checkin_interval < kMinimumCheckinInterval) { On 2014/04/28 17:33:50, ...
6 years, 7 months ago (2014-04-28 17:50:52 UTC) #3
jianli
lgtm https://codereview.chromium.org/252933002/diff/30001/google_apis/gcm/engine/gservices_settings_unittest.cc File google_apis/gcm/engine/gservices_settings_unittest.cc (right): https://codereview.chromium.org/252933002/diff/30001/google_apis/gcm/engine/gservices_settings_unittest.cc#newcode234 google_apis/gcm/engine/gservices_settings_unittest.cc:234: // setting the checkin interval to less than ...
6 years, 7 months ago (2014-04-28 18:15:43 UTC) #4
Nicolas Zea
lgtm https://codereview.chromium.org/252933002/diff/30001/google_apis/gcm/engine/gservices_settings_unittest.cc File google_apis/gcm/engine/gservices_settings_unittest.cc (right): https://codereview.chromium.org/252933002/diff/30001/google_apis/gcm/engine/gservices_settings_unittest.cc#newcode228 google_apis/gcm/engine/gservices_settings_unittest.cc:228: // Verifies that the checkin interval is updated ...
6 years, 7 months ago (2014-04-28 18:23:49 UTC) #5
fgorski
Applied all. Checking in. https://codereview.chromium.org/252933002/diff/30001/google_apis/gcm/engine/gservices_settings_unittest.cc File google_apis/gcm/engine/gservices_settings_unittest.cc (right): https://codereview.chromium.org/252933002/diff/30001/google_apis/gcm/engine/gservices_settings_unittest.cc#newcode228 google_apis/gcm/engine/gservices_settings_unittest.cc:228: // Verifies that the checkin ...
6 years, 7 months ago (2014-04-28 20:46:19 UTC) #6
fgorski
The CQ bit was checked by fgorski@chromium.org
6 years, 7 months ago (2014-04-28 20:46:22 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fgorski@chromium.org/252933002/40001
6 years, 7 months ago (2014-04-28 20:47:37 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 20:50:49 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_rel
6 years, 7 months ago (2014-04-28 20:50:49 UTC) #10
fgorski
The CQ bit was checked by fgorski@chromium.org
6 years, 7 months ago (2014-04-29 16:48:16 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/252933002/40001
6 years, 7 months ago (2014-04-29 16:49:02 UTC) #12
fgorski
The CQ bit was unchecked by fgorski@chromium.org
6 years, 7 months ago (2014-04-29 20:06:18 UTC) #13
fgorski
The CQ bit was checked by fgorski@chromium.org
6 years, 7 months ago (2014-04-29 20:06:23 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fgorski@chromium.org/252933002/40001
6 years, 7 months ago (2014-04-29 20:22:48 UTC) #15
commit-bot: I haz the power
6 years, 7 months ago (2014-04-30 02:24:35 UTC) #16
Message was sent while issue was closed.
Change committed as 267049

Powered by Google App Engine
This is Rietveld 408576698