PerUserTopicSubscriptionManager: fix ENABLED state notifications
ENABLED is now emitted UpdateSubscribedTopics() regardless of conservative enabling feature state if there is no |pending_subscriptions_|. ENABLED is now emitted on successful access token update iff conservative enabling feature is disabled. According to comments in crrev.com/c/1407071 the only reason to emit it here with enabled feature is the case when there is no |pending_subscription_|, which is now handled in UpdateSubscribedTopics(). Bug: 1020117 Change-Id: I1b7a34a4a99c876a172df861b3da6efe03c9cb64 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2050485 Commit-Queue: Maksim Moskvitin <mmoskvitin@google.com> Reviewed-by:Marc Treib <treib@chromium.org> Cr-Commit-Position: refs/heads/master@{#740645}
Showing
Please register or sign in to comment