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

Issue 2971183002: Enforces order for settings reset (Closed)

Created:
3 years, 5 months ago by ftirelo
Modified:
3 years, 5 months ago
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Enforces order for settings reset This fixes a weird interaction between to tasks involving settings reset: - Post-cleanup settings reset, which can happen at start up after the Chrome Cleanup Tool successfully completed (for example, it may have required a reboot); - Settings reset prompt, which will check if user settings have been hijacked and offer the user to reset it to its default values. In case both features are enabled, we should only check the latter after completing the former, so that we will not prompt users to reset their settings if they have already agreed on resetting them post-cleanup. BUG=690020 Review-Url: https://codereview.chromium.org/2971183002 Cr-Commit-Position: refs/heads/master@{#485274} Committed: https://chromium.googlesource.com/chromium/src/+/52ad47d6764c9dbacb4f5e45704db3edae3b8629

Patch Set 1 #

Total comments: 1

Patch Set 2 : Remove useless comment #

Patch Set 3 : Add browser test for dependency #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -19 lines) Patch
M chrome/browser/chrome_browser_main_win.cc View 1 2 chunks +16 lines, -10 lines 0 comments Download
A chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_dependency_browsertest_win.cc View 1 2 1 chunk +92 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_controller.h View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_controller.cc View 1 2 2 chunks +42 lines, -9 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
ftirelo
3 years, 5 months ago (2017-07-06 16:58:23 UTC) #2
csharp
lgtm https://codereview.chromium.org/2971183002/diff/1/chrome/browser/chrome_browser_main_win.cc File chrome/browser/chrome_browser_main_win.cc (right): https://codereview.chromium.org/2971183002/diff/1/chrome/browser/chrome_browser_main_win.cc#newcode234 chrome/browser/chrome_browser_main_win.cc:234: // Posts the settings reset prompt to be ...
3 years, 5 months ago (2017-07-06 17:09:02 UTC) #3
ftirelo
3 years, 5 months ago (2017-07-06 17:30:19 UTC) #5
ftirelo
+jochen for OWNERS of chrome_browser_main_win.cc
3 years, 5 months ago (2017-07-06 17:30:38 UTC) #6
jochen (gone - plz use gerrit)
is it possible to write a test for this?
3 years, 5 months ago (2017-07-07 07:46:11 UTC) #7
ftirelo
Added browser test to check that settings reset prompt is always checked. PTAL On 2017/07/07 ...
3 years, 5 months ago (2017-07-07 17:41:37 UTC) #8
jochen (gone - plz use gerrit)
lgtm
3 years, 5 months ago (2017-07-10 06:49:34 UTC) #9
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/2971183002/40001
3 years, 5 months ago (2017-07-10 13:11:00 UTC) #12
commit-bot: I haz the power
3 years, 5 months ago (2017-07-10 15:37:19 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/52ad47d6764c9dbacb4f5e45704d...

Powered by Google App Engine
This is Rietveld 408576698