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

Issue 2727063006: Settings reset prompt: add startup logic (Closed)

Created:
3 years, 9 months ago by alito
Modified:
3 years, 9 months ago
CC:
chromium-reviews, grt+watch_chromium.org, asvitkine+watch_chromium.org, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Settings reset prompt: add startup logic This adds the logic needed by the settings reset prompt to figure out if a reset prompt should be shown to the user, and if so, which setting the user should be prompted for. BUG= TBR=rkaplow@chromium.org Review-Url: https://codereview.chromium.org/2727063006 Cr-Commit-Position: refs/heads/master@{#454550} Committed: https://chromium.googlesource.com/chromium/src/+/856526d83e9120f70f27823f6399f596379a2600

Patch Set 1 #

Total comments: 6

Patch Set 2 : Make model class's browser test windows-only #

Patch Set 3 : Addressed Chris's comments #

Total comments: 2

Patch Set 4 : Nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+483 lines, -834 lines) Patch
M chrome/browser/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main_win.cc View 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/prefs/chrome_pref_service_factory.cc View 1 2 3 1 chunk +26 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_config.h View 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_config.cc View 3 chunks +32 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_config_unittest.cc View 3 chunks +75 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_controller.h View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_controller.cc View 3 chunks +55 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_model.h View 5 chunks +23 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_model.cc View 1 2 6 chunks +40 lines, -8 lines 0 comments Download
D chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_model_browsertest.cc View 1 1 chunk +0 lines, -795 lines 0 comments Download
A + chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_model_browsertest_win.cc View 1 8 chunks +0 lines, -24 lines 0 comments Download
M chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_model_unittest.cc View 2 chunks +17 lines, -1 line 0 comments Download
A chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_prefs_manager.h View 1 chunk +49 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_prefs_manager.cc View 1 2 1 chunk +92 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/settings_reset_prompt_dialog.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/settings_reset_prompt_dialog_browsertest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/common/pref_names.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 1 chunk +1 line, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (14 generated)
alito
PTAL!
3 years, 9 months ago (2017-03-02 20:47:56 UTC) #3
alito
Now actually added reviewers... PTAL.
3 years, 9 months ago (2017-03-02 20:48:30 UTC) #5
csharp
lgtm https://codereview.chromium.org/2727063006/diff/1/chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_config_unittest.cc File chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_config_unittest.cc (right): https://codereview.chromium.org/2727063006/diff/1/chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_config_unittest.cc#newcode210 chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_config_unittest.cc:210: constexpr const char kDelayParam[] = "delay_before_prompt_seconds"; I don't ...
3 years, 9 months ago (2017-03-03 00:50:46 UTC) #8
alito
Thanks. Adding owners for the following files: sky@ for: chrome/browser/chrome_browser_main_win.cc chrome/browser/ui/views/* gab@ for: chrome/browser/prefs/* rkaplow@ ...
3 years, 9 months ago (2017-03-03 01:35:01 UTC) #10
alito
Adding bauerb@ for chrome/browser/prefs/* since gab@ is tagged as slow due to travel and perf.
3 years, 9 months ago (2017-03-03 01:38:06 UTC) #12
robertshield
lgtm
3 years, 9 months ago (2017-03-03 01:53:57 UTC) #15
sky
LGTM
3 years, 9 months ago (2017-03-03 04:03:01 UTC) #16
gab
prefs lgtm w/ nit https://codereview.chromium.org/2727063006/diff/40001/chrome/browser/prefs/chrome_pref_service_factory.cc File chrome/browser/prefs/chrome_pref_service_factory.cc (right): https://codereview.chromium.org/2727063006/diff/40001/chrome/browser/prefs/chrome_pref_service_factory.cc#newcode248 chrome/browser/prefs/chrome_pref_service_factory.cc:248: #endif #endif // defined(OS_WIN)
3 years, 9 months ago (2017-03-03 07:39:27 UTC) #17
alito
Thx gab! Landing now. https://codereview.chromium.org/2727063006/diff/40001/chrome/browser/prefs/chrome_pref_service_factory.cc File chrome/browser/prefs/chrome_pref_service_factory.cc (right): https://codereview.chromium.org/2727063006/diff/40001/chrome/browser/prefs/chrome_pref_service_factory.cc#newcode248 chrome/browser/prefs/chrome_pref_service_factory.cc:248: #endif On 2017/03/03 07:39:26, gab ...
3 years, 9 months ago (2017-03-03 07:51:18 UTC) #19
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/2727063006/60001
3 years, 9 months ago (2017-03-03 07:51:43 UTC) #22
commit-bot: I haz the power
3 years, 9 months ago (2017-03-03 09:17:04 UTC) #25
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/856526d83e9120f70f27823f6399...

Powered by Google App Engine
This is Rietveld 408576698