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

Issue 2236663002: Add origin of settings reset request to feedback reports. (Closed)

Created:
4 years, 4 months ago by alito
Modified:
4 years, 3 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, michaelpg+watch-options_chromium.org, michaelpg+watch-md-settings_chromium.org, arv+watch_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add origin of settings reset request to feedback reports. BUG=636435 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/241030d4936cb71e5acf0d4ef71c2ba95110209f Cr-Commit-Position: refs/heads/master@{#419807}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressed Robert's comments #

Total comments: 4

Patch Set 3 : Addressed Vasilii's comments #

Total comments: 12

Patch Set 4 : Adressed Dan's comments #

Total comments: 23

Patch Set 5 : Addressed Dan's comments, take 2 #

Total comments: 24

Patch Set 6 : Rebased to pick up the refactor in issue 2334003006 and addressed Dan's comments. #

Patch Set 7 : Small change in proto enum order. #

Total comments: 6

Patch Set 8 : Addressed Dan's comments, take 3 #

Total comments: 6

Patch Set 9 : nits #

Total comments: 5

Patch Set 10 : Defined hash string #

Patch Set 11 : tiny fix. #

Patch Set 12 : Move cct hash definition to options::ResetProfileSettingsHandler #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -30 lines) Patch
M chrome/browser/profile_resetter/profile_reset_report.proto View 1 2 3 4 5 6 1 chunk +18 lines, -1 line 0 comments Download
M chrome/browser/resources/options/browser_options.js View 1 2 3 4 5 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/resources/options/reset_profile_settings_overlay.js View 1 2 3 4 5 6 7 3 chunks +28 lines, -4 lines 0 comments Download
M chrome/browser/ui/startup/startup_browser_creator.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +25 lines, -12 lines 0 comments Download
M chrome/browser/ui/webui/options/reset_profile_settings_handler.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options/reset_profile_settings_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +43 lines, -9 lines 0 comments Download
M chrome/browser/ui/webui/settings/reset_settings_handler.cc View 1 2 3 4 5 1 chunk +9 lines, -1 line 0 comments Download

Messages

Total messages: 47 (11 generated)
alito
PTAL. This only works for the current settings page until crbug.com/636408 has been fixed.
4 years, 4 months ago (2016-08-10 18:27:22 UTC) #3
alito
Added the wrong reviewer email!
4 years, 4 months ago (2016-08-10 20:25:56 UTC) #5
robertshield
https://codereview.chromium.org/2236663002/diff/1/chrome/browser/profile_resetter/profile_reset_report.proto File chrome/browser/profile_resetter/profile_reset_report.proto (right): https://codereview.chromium.org/2236663002/diff/1/chrome/browser/profile_resetter/profile_reset_report.proto#newcode65 chrome/browser/profile_resetter/profile_reset_report.proto:65: // Specified where the request for the settings reset ...
4 years, 4 months ago (2016-08-10 20:35:42 UTC) #6
alito
Addressed Robert's comments. https://codereview.chromium.org/2236663002/diff/1/chrome/browser/profile_resetter/profile_reset_report.proto File chrome/browser/profile_resetter/profile_reset_report.proto (right): https://codereview.chromium.org/2236663002/diff/1/chrome/browser/profile_resetter/profile_reset_report.proto#newcode65 chrome/browser/profile_resetter/profile_reset_report.proto:65: // Specified where the request for ...
4 years, 4 months ago (2016-08-10 21:06:33 UTC) #7
alito
Hi Vasilii, battre@ is OOO so could you please TAL? Feel free to suggest other ...
4 years, 4 months ago (2016-08-11 15:20:47 UTC) #10
alito
Adding dbeam@ as reviewer. Dan, feel free to suggest other reviewers as appropriate.
4 years, 4 months ago (2016-08-11 15:43:47 UTC) #11
vasilii
https://codereview.chromium.org/2236663002/diff/20001/chrome/browser/profile_resetter/profile_reset_report.proto File chrome/browser/profile_resetter/profile_reset_report.proto (right): https://codereview.chromium.org/2236663002/diff/20001/chrome/browser/profile_resetter/profile_reset_report.proto#newcode77 chrome/browser/profile_resetter/profile_reset_report.proto:77: RESET_REQUEST_ORIGIN_UNKNOWN = 4; How is it different from RESET_REQUEST_ORIGIN_UNSPECIFIED? ...
4 years, 4 months ago (2016-08-11 16:33:38 UTC) #12
alito
Addressed Vasilii's comments. https://codereview.chromium.org/2236663002/diff/20001/chrome/browser/profile_resetter/profile_reset_report.proto File chrome/browser/profile_resetter/profile_reset_report.proto (right): https://codereview.chromium.org/2236663002/diff/20001/chrome/browser/profile_resetter/profile_reset_report.proto#newcode77 chrome/browser/profile_resetter/profile_reset_report.proto:77: RESET_REQUEST_ORIGIN_UNKNOWN = 4; On 2016/08/11 16:33:38, ...
4 years, 4 months ago (2016-08-11 16:59:05 UTC) #13
vasilii
profile_reset_report.proto LGTM
4 years, 4 months ago (2016-08-11 17:27:57 UTC) #14
alito
Probably need more coffee... Seems I forgot to actually add dbeam@ as reviewer when I ...
4 years, 4 months ago (2016-08-11 17:46:20 UTC) #16
alito
Friendly ping...
4 years, 4 months ago (2016-08-15 21:23:00 UTC) #17
Dan Beam
https://codereview.chromium.org/2236663002/diff/40001/chrome/browser/resources/options/reset_profile_settings_overlay.js File chrome/browser/resources/options/reset_profile_settings_overlay.js (right): https://codereview.chromium.org/2236663002/diff/40001/chrome/browser/resources/options/reset_profile_settings_overlay.js#newcode28 chrome/browser/resources/options/reset_profile_settings_overlay.js:28: /** @private {string} */ resetRequestOrigin_: '', https://codereview.chromium.org/2236663002/diff/40001/chrome/browser/resources/options/reset_profile_settings_overlay.js#newcode90 chrome/browser/resources/options/reset_profile_settings_overlay.js:90: resetRequestOrigin ...
4 years, 4 months ago (2016-08-19 02:06:41 UTC) #18
alito
Addressed Dan's comments. Thanks for the review. PTAnL. https://codereview.chromium.org/2236663002/diff/40001/chrome/browser/resources/options/reset_profile_settings_overlay.js File chrome/browser/resources/options/reset_profile_settings_overlay.js (right): https://codereview.chromium.org/2236663002/diff/40001/chrome/browser/resources/options/reset_profile_settings_overlay.js#newcode28 chrome/browser/resources/options/reset_profile_settings_overlay.js:28: On ...
4 years, 4 months ago (2016-08-20 03:01:25 UTC) #19
Dan Beam
https://codereview.chromium.org/2236663002/diff/60001/chrome/browser/resources/options/reset_profile_settings_overlay.js File chrome/browser/resources/options/reset_profile_settings_overlay.js (right): https://codereview.chromium.org/2236663002/diff/60001/chrome/browser/resources/options/reset_profile_settings_overlay.js#newcode42 chrome/browser/resources/options/reset_profile_settings_overlay.js:42: ResetProfileSettingsOverlay.getInstance() this.resetRequestOrigin_ https://codereview.chromium.org/2236663002/diff/60001/chrome/browser/resources/options/reset_profile_settings_overlay.js#newcode44 chrome/browser/resources/options/reset_profile_settings_overlay.js:44: }; }.bind(this); https://codereview.chromium.org/2236663002/diff/60001/chrome/browser/resources/options/reset_profile_settings_overlay.js#newcode58 chrome/browser/resources/options/reset_profile_settings_overlay.js:58: didShowPage: ...
4 years, 4 months ago (2016-08-23 05:48:23 UTC) #20
alito
Addressed comments. Dan, PTAnL. Thanks for being patient with a javascript newbie. https://codereview.chromium.org/2236663002/diff/60001/chrome/browser/resources/options/reset_profile_settings_overlay.js File chrome/browser/resources/options/reset_profile_settings_overlay.js ...
4 years, 4 months ago (2016-08-23 18:20:35 UTC) #21
Dan Beam
https://codereview.chromium.org/2236663002/diff/60001/chrome/browser/resources/options/reset_profile_settings_overlay.js File chrome/browser/resources/options/reset_profile_settings_overlay.js (right): https://codereview.chromium.org/2236663002/diff/60001/chrome/browser/resources/options/reset_profile_settings_overlay.js#newcode44 chrome/browser/resources/options/reset_profile_settings_overlay.js:44: }; On 2016/08/23 18:20:34, alito wrote: > On 2016/08/23 ...
4 years, 4 months ago (2016-08-23 22:46:53 UTC) #22
alito
https://codereview.chromium.org/2236663002/diff/60001/chrome/browser/resources/options/reset_profile_settings_overlay.js File chrome/browser/resources/options/reset_profile_settings_overlay.js (right): https://codereview.chromium.org/2236663002/diff/60001/chrome/browser/resources/options/reset_profile_settings_overlay.js#newcode44 chrome/browser/resources/options/reset_profile_settings_overlay.js:44: }; On 2016/08/23 22:46:53, Dan Beam wrote: > On ...
4 years, 3 months ago (2016-08-24 21:17:02 UTC) #23
alito
https://codereview.chromium.org/2236663002/diff/60001/chrome/browser/resources/options/reset_profile_settings_overlay.js File chrome/browser/resources/options/reset_profile_settings_overlay.js (right): https://codereview.chromium.org/2236663002/diff/60001/chrome/browser/resources/options/reset_profile_settings_overlay.js#newcode44 chrome/browser/resources/options/reset_profile_settings_overlay.js:44: }; On 2016/08/24 21:17:01, alito wrote: > On 2016/08/23 ...
4 years, 3 months ago (2016-08-24 21:49:22 UTC) #24
alito
Dan, could you PTAnL?
4 years, 3 months ago (2016-08-30 19:26:03 UTC) #25
Dan Beam
https://codereview.chromium.org/2236663002/diff/80001/chrome/browser/resources/options/reset_profile_settings_overlay.js File chrome/browser/resources/options/reset_profile_settings_overlay.js (right): https://codereview.chromium.org/2236663002/diff/80001/chrome/browser/resources/options/reset_profile_settings_overlay.js#newcode28 chrome/browser/resources/options/reset_profile_settings_overlay.js:28: /** @private {string} */ this should be protected https://codereview.chromium.org/2236663002/diff/80001/chrome/browser/resources/options/reset_profile_settings_overlay.js#newcode42 ...
4 years, 3 months ago (2016-09-06 19:35:18 UTC) #26
Dan Beam
also, can you add some tests to verify the code you're adding?
4 years, 3 months ago (2016-09-06 19:36:07 UTC) #27
alito
Dan, I have two questions for you in the comments below. Could you please take ...
4 years, 3 months ago (2016-09-13 02:02:00 UTC) #28
Dan Beam
this code uses concrete inheritance and is deprecated. it's icky. we can fix some things ...
4 years, 3 months ago (2016-09-13 18:42:10 UTC) #29
alito
After discussing with Dan offline, I refactored the reset settings overlays here: https://codereview.chromium.org/2334003006/ I rebased ...
4 years, 3 months ago (2016-09-16 02:10:37 UTC) #30
Dan Beam
https://codereview.chromium.org/2236663002/diff/120001/chrome/browser/resources/options/reset_profile_settings_overlay.js File chrome/browser/resources/options/reset_profile_settings_overlay.js (right): https://codereview.chromium.org/2236663002/diff/120001/chrome/browser/resources/options/reset_profile_settings_overlay.js#newcode49 chrome/browser/resources/options/reset_profile_settings_overlay.js:49: if (!this.isTriggered_) { soooooo, it seems like it doesn't ...
4 years, 3 months ago (2016-09-16 06:29:41 UTC) #31
alito
Thanks for you comments Dan. Should all be addressed now. https://codereview.chromium.org/2236663002/diff/120001/chrome/browser/resources/options/reset_profile_settings_overlay.js File chrome/browser/resources/options/reset_profile_settings_overlay.js (right): https://codereview.chromium.org/2236663002/diff/120001/chrome/browser/resources/options/reset_profile_settings_overlay.js#newcode49 ...
4 years, 3 months ago (2016-09-16 17:10:19 UTC) #32
Dan Beam
lgtm thanks for bearing with me, sorry i misinterpreted this code at first (it's a ...
4 years, 3 months ago (2016-09-16 19:48:29 UTC) #33
alito
Adding sky for OWNER's approval for chrome/browser/ui/startup/startup_browser_creator.cc. Robert, any thoughts? https://codereview.chromium.org/2236663002/diff/140001/chrome/browser/resources/options/reset_profile_settings_overlay.js File chrome/browser/resources/options/reset_profile_settings_overlay.js (right): https://codereview.chromium.org/2236663002/diff/140001/chrome/browser/resources/options/reset_profile_settings_overlay.js#newcode55 ...
4 years, 3 months ago (2016-09-16 20:16:16 UTC) #35
sky
https://codereview.chromium.org/2236663002/diff/160001/chrome/browser/ui/startup/startup_browser_creator.cc File chrome/browser/ui/startup/startup_browser_creator.cc (right): https://codereview.chromium.org/2236663002/diff/160001/chrome/browser/ui/startup/startup_browser_creator.cc#newcode528 chrome/browser/ui/startup/startup_browser_creator.cc:528: // line. See ExistingUserController::OnLoginSuccess. There is no ExistingUserController::OnLoginSuccess https://codereview.chromium.org/2236663002/diff/160001/chrome/browser/ui/startup/startup_browser_creator.cc#newcode541 ...
4 years, 3 months ago (2016-09-16 21:53:05 UTC) #36
alito
Thanks Scott. I've addressed your comments. Dan, I moved the CCT hash string to chrome/browser/ui/webui/settings_utils.h ...
4 years, 3 months ago (2016-09-17 20:23:31 UTC) #37
sky
https://codereview.chromium.org/2236663002/diff/160001/chrome/browser/ui/startup/startup_browser_creator.cc File chrome/browser/ui/startup/startup_browser_creator.cc (right): https://codereview.chromium.org/2236663002/diff/160001/chrome/browser/ui/startup/startup_browser_creator.cc#newcode541 chrome/browser/ui/startup/startup_browser_creator.cc:541: url == reset_settings_url.Resolve("#cct"); On 2016/09/17 20:23:31, alito wrote: > ...
4 years, 3 months ago (2016-09-18 16:14:04 UTC) #38
alito
Scott, I moved the definition of the hash to the resetter class in options. Based ...
4 years, 3 months ago (2016-09-20 15:20:00 UTC) #39
sky
LGTM
4 years, 3 months ago (2016-09-20 16:49:50 UTC) #40
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/2236663002/210001
4 years, 3 months ago (2016-09-20 16:58:48 UTC) #43
commit-bot: I haz the power
Committed patchset #12 (id:210001)
4 years, 3 months ago (2016-09-20 17:59:05 UTC) #45
commit-bot: I haz the power
4 years, 3 months ago (2016-09-20 18:01:16 UTC) #47
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/241030d4936cb71e5acf0d4ef71c2ba95110209f
Cr-Commit-Position: refs/heads/master@{#419807}

Powered by Google App Engine
This is Rietveld 408576698