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

Issue 1263773007: [Android] Enable session invalidations while the RecentTabsPage is open (Closed)

Created:
5 years, 4 months ago by pkotwicz
Modified:
5 years, 4 months ago
Reviewers:
nyquist
CC:
chromium-reviews, tim+watch_chromium.org, zea+watch_chromium.org, maxbogue+watch_chromium.org, pvalenzuela+watch_chromium.org, plaree+watch_chromium.org, maniscalco+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android] Enable session invalidations while the RecentTabsPage is open The "AndroidSessionNotifications" experiment disables session invalidations because session sync invalidations represent the bulk of the invalidation traffic. Session invalidations cause the client to fetch the updated "Recent Tabs" from the sync server. This CL enables session sync invalidations only after the user has had the RecentTabsPage open for a while. This enables the Android RecentTabsPage to be "live": If a user opens a tab on a device which is signed in to the same profile as the Android device, the RecentTabsPage on the Android device is updated with the new tab. The CL disables session sync when the RecentTabsPage is closed because the invalidations are not longer useful at that time. BUG=477054 TEST=InvalidationControllerTest.* Committed: https://crrev.com/531f0b72e8f506a55f91de42a7fa86bde4ca4e64 Cr-Commit-Position: refs/heads/master@{#342363}

Patch Set 1 #

Total comments: 9

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Messages

Total messages: 10 (3 generated)
pkotwicz
Tommy can you please take a look? Sorry that it took me this long to ...
5 years, 4 months ago (2015-08-03 01:33:38 UTC) #2
nyquist
Related change: https://codereview.chromium.org/1247853007/
5 years, 4 months ago (2015-08-03 20:22:48 UTC) #3
nyquist
lgtm https://codereview.chromium.org/1263773007/diff/1/chrome/android/java/src/org/chromium/chrome/browser/invalidation/InvalidationController.java File chrome/android/java/src/org/chromium/chrome/browser/invalidation/InvalidationController.java (right): https://codereview.chromium.org/1263773007/diff/1/chrome/android/java/src/org/chromium/chrome/browser/invalidation/InvalidationController.java#newcode111 chrome/android/java/src/org/chromium/chrome/browser/invalidation/InvalidationController.java:111: private static final int REGISTER_FOR_SESSION_SYNC_INVALIDATIONS_DELAY_MS = 30000; How ...
5 years, 4 months ago (2015-08-03 23:22:18 UTC) #4
pkotwicz
Tommy do you have any suggestions for REGISTER_FOR_SESSION_SYNC_INVALIDATIONS_DELAY_MS and UNREGISTER_FOR_SESSION_SYNC_INVALIDATIONS_DELAY_MS. I picked the values for ...
5 years, 4 months ago (2015-08-05 00:13:12 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1263773007/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1263773007/60001
5 years, 4 months ago (2015-08-07 15:39:08 UTC) #8
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 4 months ago (2015-08-07 16:15:30 UTC) #9
commit-bot: I haz the power
5 years, 4 months ago (2015-08-07 16:16:07 UTC) #10
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/531f0b72e8f506a55f91de42a7fa86bde4ca4e64
Cr-Commit-Position: refs/heads/master@{#342363}

Powered by Google App Engine
This is Rietveld 408576698