[Push] Delete expired subscriptions
This CL will check for and remove expired subscriptions after the profile is initialized. By enabling the feature flag for push subscriptions with expiration time, a expiration time of kPushSubscriptionExpirationPeriodTimeDelta specified in chrome/browser/push_messaging/push_messaging_constants.h is added to push subscriptions. These subscriptions become invalid after they expired and need to be removed from the browser. Bug: 1119690 Test: unit_tests --gtest_filter=Push*Remove* Change-Id: I1d899daa0e79ff7fd4b08b0bc70ef273f9a54872 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2365953Reviewed-by:Daniel Cheng <dcheng@chromium.org> Reviewed-by:
Richard Knoll <knollr@chromium.org> Reviewed-by:
Rayan Kanso <rayankans@chromium.org> Commit-Queue: Viviane Yang <viviy@google.com> Cr-Commit-Position: refs/heads/master@{#800487}
Showing
Please register or sign in to comment