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

Issue 1267983002: Signup for GCM upstream notifications (Closed)

Created:
5 years, 4 months ago by binjin
Modified:
5 years, 1 month ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org, jinzhang1
Base URL:
https://chromium.googlesource.com/chromium/src.git@gcm-registration
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Signup for GCM upstream notifications Also set the default heartbeats interval for GCM driver. BUG=517466 Committed: https://crrev.com/75799d32ee85fc107ed070642cb4d2fd3181285b Cr-Commit-Position: refs/heads/master@{#360978}

Patch Set 1 #

Patch Set 2 : minor fixes #

Patch Set 3 : broken tests #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Patch Set 6 : fix url #

Patch Set 7 : fix #

Total comments: 12

Patch Set 8 : addressing #6 #

Patch Set 9 : update hearts interval from device policy #

Total comments: 4

Patch Set 10 : addressing #8 #

Patch Set 11 : add heartbeats bits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+177 lines, -11 lines) Patch
M chrome/browser/chromeos/policy/heartbeat_scheduler.h View 1 2 3 4 5 6 7 8 9 5 chunks +13 lines, -1 line 0 comments Download
M chrome/browser/chromeos/policy/heartbeat_scheduler.cc View 1 2 3 4 5 6 7 8 9 10 9 chunks +53 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/policy/heartbeat_scheduler_unittest.cc View 1 2 3 4 5 6 7 8 9 10 12 chunks +111 lines, -7 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
binjin
Hi Drew, PTAL
5 years, 1 month ago (2015-11-14 21:52:57 UTC) #2
jinzhang1
https://codereview.chromium.org/1267983002/diff/120001/chrome/browser/chromeos/policy/heartbeat_scheduler.cc File chrome/browser/chromeos/policy/heartbeat_scheduler.cc (right): https://codereview.chromium.org/1267983002/diff/120001/chrome/browser/chromeos/policy/heartbeat_scheduler.cc#newcode356 chrome/browser/chromeos/policy/heartbeat_scheduler.cc:356: void HeartbeatScheduler::SignUpUpstreamNotification() { Hey Bin, I don't see you ...
5 years, 1 month ago (2015-11-16 19:10:49 UTC) #4
binjin
https://codereview.chromium.org/1267983002/diff/120001/chrome/browser/chromeos/policy/heartbeat_scheduler.cc File chrome/browser/chromeos/policy/heartbeat_scheduler.cc (right): https://codereview.chromium.org/1267983002/diff/120001/chrome/browser/chromeos/policy/heartbeat_scheduler.cc#newcode356 chrome/browser/chromeos/policy/heartbeat_scheduler.cc:356: void HeartbeatScheduler::SignUpUpstreamNotification() { On 2015/11/16 19:10:49, jinzhang1 wrote: > ...
5 years, 1 month ago (2015-11-16 19:13:15 UTC) #5
Andrew T Wilson (Slow)
https://codereview.chromium.org/1267983002/diff/120001/chrome/browser/chromeos/policy/heartbeat_scheduler.cc File chrome/browser/chromeos/policy/heartbeat_scheduler.cc (right): https://codereview.chromium.org/1267983002/diff/120001/chrome/browser/chromeos/policy/heartbeat_scheduler.cc#newcode22 chrome/browser/chromeos/policy/heartbeat_scheduler.cc:22: const int kMinimumSignupIntervalMs = 3 * 60 * 1000; ...
5 years, 1 month ago (2015-11-18 11:43:32 UTC) #6
binjin
https://codereview.chromium.org/1267983002/diff/120001/chrome/browser/chromeos/policy/heartbeat_scheduler.cc File chrome/browser/chromeos/policy/heartbeat_scheduler.cc (right): https://codereview.chromium.org/1267983002/diff/120001/chrome/browser/chromeos/policy/heartbeat_scheduler.cc#newcode22 chrome/browser/chromeos/policy/heartbeat_scheduler.cc:22: const int kMinimumSignupIntervalMs = 3 * 60 * 1000; ...
5 years, 1 month ago (2015-11-19 05:50:27 UTC) #7
Andrew T Wilson (Slow)
LGTM with comments https://codereview.chromium.org/1267983002/diff/160001/chrome/browser/chromeos/policy/heartbeat_scheduler.cc File chrome/browser/chromeos/policy/heartbeat_scheduler.cc (right): https://codereview.chromium.org/1267983002/diff/160001/chrome/browser/chromeos/policy/heartbeat_scheduler.cc#newcode230 chrome/browser/chromeos/policy/heartbeat_scheduler.cc:230: if (settings->GetInteger(chromeos::kHeartbeatFrequency, &frequency)) { So, shouldn't ...
5 years, 1 month ago (2015-11-20 16:37:34 UTC) #8
binjin
https://codereview.chromium.org/1267983002/diff/160001/chrome/browser/chromeos/policy/heartbeat_scheduler.cc File chrome/browser/chromeos/policy/heartbeat_scheduler.cc (right): https://codereview.chromium.org/1267983002/diff/160001/chrome/browser/chromeos/policy/heartbeat_scheduler.cc#newcode230 chrome/browser/chromeos/policy/heartbeat_scheduler.cc:230: if (settings->GetInteger(chromeos::kHeartbeatFrequency, &frequency)) { On 2015/11/20 16:37:34, Andrew T ...
5 years, 1 month ago (2015-11-20 22:56:49 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1267983002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1267983002/200001
5 years, 1 month ago (2015-11-21 01:02:36 UTC) #13
commit-bot: I haz the power
Committed patchset #11 (id:200001)
5 years, 1 month ago (2015-11-21 01:28:08 UTC) #14
commit-bot: I haz the power
5 years, 1 month ago (2015-11-21 01:28:45 UTC) #15
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/75799d32ee85fc107ed070642cb4d2fd3181285b
Cr-Commit-Position: refs/heads/master@{#360978}

Powered by Google App Engine
This is Rietveld 408576698