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

Issue 2411383003: md-settings: add reset request origin to reset feedback proto. (Closed)

Created:
4 years, 2 months ago by alito
Modified:
4 years, 2 months ago
Reviewers:
Dan Beam, hcarmona, sky
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, arv+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

md-settings: add reset request origin to reset feedback proto. BUG=636435 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/a6e2ff7f9e7249663424e01a3d5aa31c9a8f9ee4 Cr-Commit-Position: refs/heads/master@{#425337}

Patch Set 1 : Fixes #

Patch Set 2 : Test cleanup #

Total comments: 7

Patch Set 3 : Addressed hcarmona@'s comments. #

Total comments: 6

Patch Set 4 : Addressed dbeam@'s comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -33 lines) Patch
M chrome/browser/resources/settings/reset_page/reset_browser_proxy.js View 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/reset_page/reset_page.js View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/reset_page/reset_profile_dialog.js View 1 2 3 chunks +11 lines, -1 line 0 comments Download
M chrome/browser/ui/startup/startup_browser_creator.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/settings/reset_settings_handler.h View 1 2 3 3 chunks +13 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/settings/reset_settings_handler.cc View 1 2 3 6 chunks +44 lines, -21 lines 0 comments Download
M chrome/browser/ui/webui/settings/reset_settings_handler_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/webui/settings/reset_page_test.js View 1 2 3 5 chunks +43 lines, -2 lines 0 comments Download

Messages

Total messages: 27 (14 generated)
alito
Dan, PTAL. This should be one of the final CLs that touches the settings code ...
4 years, 2 months ago (2016-10-13 17:36:30 UTC) #4
Dan Beam
hey hcarmona@, can you help alito@ with a review and pass it back to me ...
4 years, 2 months ago (2016-10-13 17:46:38 UTC) #7
hcarmona
https://codereview.chromium.org/2411383003/diff/40001/chrome/browser/resources/settings/reset_page/reset_profile_dialog.js File chrome/browser/resources/settings/reset_page/reset_profile_dialog.js (right): https://codereview.chromium.org/2411383003/diff/40001/chrome/browser/resources/settings/reset_page/reset_profile_dialog.js#newcode35 chrome/browser/resources/settings/reset_page/reset_profile_dialog.js:35: resetRequestOrigin_: { Please change to: resetRequestOrigin: String, Having a ...
4 years, 2 months ago (2016-10-13 20:30:20 UTC) #8
alito
Thanks Hector. I've addressed your comments. PTAnL. https://codereview.chromium.org/2411383003/diff/40001/chrome/browser/resources/settings/reset_page/reset_profile_dialog.js File chrome/browser/resources/settings/reset_page/reset_profile_dialog.js (right): https://codereview.chromium.org/2411383003/diff/40001/chrome/browser/resources/settings/reset_page/reset_profile_dialog.js#newcode35 chrome/browser/resources/settings/reset_page/reset_profile_dialog.js:35: resetRequestOrigin_: { ...
4 years, 2 months ago (2016-10-13 21:27:28 UTC) #9
hcarmona
LGTM https://codereview.chromium.org/2411383003/diff/40001/chrome/browser/ui/webui/settings/reset_settings_handler.cc File chrome/browser/ui/webui/settings/reset_settings_handler.cc (right): https://codereview.chromium.org/2411383003/diff/40001/chrome/browser/ui/webui/settings/reset_settings_handler.cc#newcode62 chrome/browser/ui/webui/settings/reset_settings_handler.cc:62: if (!request_origin.empty()) On 2016/10/13 21:27:28, alito wrote: > ...
4 years, 2 months ago (2016-10-13 23:37:54 UTC) #10
alito
Thanks Hector! Dan, I'll try to land this tomorrow, unless you have any comments. /ali
4 years, 2 months ago (2016-10-13 23:44:38 UTC) #11
alito
Adding sky@ for startup_browser_creator.cc.
4 years, 2 months ago (2016-10-13 23:47:03 UTC) #13
Dan Beam
lgtm w/nits https://codereview.chromium.org/2411383003/diff/60001/chrome/browser/ui/webui/settings/reset_settings_handler.h File chrome/browser/ui/webui/settings/reset_settings_handler.h (right): https://codereview.chromium.org/2411383003/diff/60001/chrome/browser/ui/webui/settings/reset_settings_handler.h#newcode87 chrome/browser/ui/webui/settings/reset_settings_handler.h:87: std::string callback_id, can callback_id be const-ref? https://codereview.chromium.org/2411383003/diff/60001/chrome/test/data/webui/settings/reset_page_test.js ...
4 years, 2 months ago (2016-10-13 23:52:01 UTC) #14
alito
Thanks Dan. All done. https://codereview.chromium.org/2411383003/diff/60001/chrome/browser/ui/webui/settings/reset_settings_handler.h File chrome/browser/ui/webui/settings/reset_settings_handler.h (right): https://codereview.chromium.org/2411383003/diff/60001/chrome/browser/ui/webui/settings/reset_settings_handler.h#newcode87 chrome/browser/ui/webui/settings/reset_settings_handler.h:87: std::string callback_id, On 2016/10/13 23:52:01, ...
4 years, 2 months ago (2016-10-14 00:28:22 UTC) #15
sky
LGTM
4 years, 2 months ago (2016-10-14 15:24:37 UTC) #20
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/2411383003/80001
4 years, 2 months ago (2016-10-14 15:45:58 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 2 months ago (2016-10-14 15:52:44 UTC) #25
commit-bot: I haz the power
4 years, 2 months ago (2016-10-14 15:55:23 UTC) #27
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a6e2ff7f9e7249663424e01a3d5aa31c9a8f9ee4
Cr-Commit-Position: refs/heads/master@{#425337}

Powered by Google App Engine
This is Rietveld 408576698