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

Issue 2711993002: Ensure PeopleHandler only calls PSS::RequestStart in response to intention to configure sync (Closed)

Created:
3 years, 10 months ago by pavely
Modified:
3 years, 9 months ago
Reviewers:
tommycli
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ensure PeopleHandler only calls PSS::RequestStart in response to intention to configure sync Currently PSS::RequestStart is called from PushSyncPrefs() which can be triggered by internal sync state changes. This call unsuppresses sync. Instead PSS::RequestStart should be called only in response to user actions to configure sync. I think OpenSyncSetup() is a good place. BUG=694762 R=tommycli@chromium.org Review-Url: https://codereview.chromium.org/2711993002 Cr-Commit-Position: refs/heads/master@{#453457} Committed: https://chromium.googlesource.com/chromium/src/+/a6f225f3f8a8fb31228e038217484ffff259463c

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -22 lines) Patch
M chrome/browser/ui/webui/settings/people_handler.cc View 1 2 chunks +23 lines, -22 lines 0 comments Download
M chrome/browser/ui/webui/settings/people_handler_unittest.cc View 6 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
pavely
3 years, 10 months ago (2017-02-23 22:12:58 UTC) #3
tommycli
lgtm, btw, you also manually tested this?
3 years, 9 months ago (2017-02-27 21:45:08 UTC) #6
tommycli
one comment https://codereview.chromium.org/2711993002/diff/1/chrome/browser/ui/webui/settings/people_handler.cc File chrome/browser/ui/webui/settings/people_handler.cc (right): https://codereview.chromium.org/2711993002/diff/1/chrome/browser/ui/webui/settings/people_handler.cc#newcode793 chrome/browser/ui/webui/settings/people_handler.cc:793: return; I think you will have to ...
3 years, 9 months ago (2017-02-27 21:46:04 UTC) #7
pavely
Yes, I tested following scenarios: - Sync doesn't get restarted after resetting sync if md-settings ...
3 years, 9 months ago (2017-02-28 01:02:56 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2711993002/20001
3 years, 9 months ago (2017-02-28 01:04:07 UTC) #11
commit-bot: I haz the power
3 years, 9 months ago (2017-02-28 02:16:11 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/a6f225f3f8a8fb31228e03821748...

Powered by Google App Engine
This is Rietveld 408576698