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

Issue 2787573003: Remove DumpWithoutCrashing from ShouldAllowOpenURL. (Closed)

Created:
3 years, 8 months ago by alexmos
Modified:
3 years, 8 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, asvitkine+watch_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove DumpWithoutCrashing from ShouldAllowOpenURL. The root causes of this call have been understood (see discussion on issue 696034), and this should not be needed anymore. BUG=696034, 698709 Review-Url: https://codereview.chromium.org/2787573003 Cr-Commit-Position: refs/heads/master@{#462216} Committed: https://chromium.googlesource.com/chromium/src/+/7f7bae62d5928d1da3e0d100d5f4215bfce61a87

Patch Set 1 #

Total comments: 6

Patch Set 2 : Nick's comments #

Total comments: 2

Patch Set 3 : Fix unit_tests compile error #

Total comments: 8

Patch Set 4 : Address review comments (rdevlin.cronin@ and dbeam@) #

Total comments: 4

Patch Set 5 : Address asvitkine's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+293 lines, -37 lines) Patch
M chrome/browser/PRESUBMIT.py View 1 2 3 2 chunks +10 lines, -3 lines 0 comments Download
M chrome/browser/extensions/chrome_content_browser_client_extensions_part.h View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download
M chrome/browser/extensions/chrome_content_browser_client_extensions_part.cc View 1 2 3 4 6 chunks +87 lines, -33 lines 0 comments Download
A chrome/browser/extensions/chrome_content_browser_client_extensions_part_unittest.cc View 1 2 3 4 1 chunk +70 lines, -0 lines 0 comments Download
M chrome/browser/extensions/process_manager_browsertest.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/window_open_apitest.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_client.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 chunks +37 lines, -0 lines 0 comments Download
A tools/metrics/histograms/presubmit_scheme_histograms.py View 1 2 3 1 chunk +31 lines, -0 lines 0 comments Download
A tools/metrics/histograms/update_should_allow_open_url_histograms.py View 1 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (23 generated)
alexmos
Nick, can you please take a look? I think I understand where most of the ...
3 years, 8 months ago (2017-03-29 21:49:47 UTC) #4
ncarter (slow)
https://codereview.chromium.org/2787573003/diff/1/chrome/browser/extensions/chrome_content_browser_client_extensions_part.cc File chrome/browser/extensions/chrome_content_browser_client_extensions_part.cc (right): https://codereview.chromium.org/2787573003/diff/1/chrome/browser/extensions/chrome_content_browser_client_extensions_part.cc#newcode115 chrome/browser/extensions/chrome_content_browser_client_extensions_part.cc:115: // RecordShowAllowOpenURLFailure. It's possible to add a presubmit that ...
3 years, 8 months ago (2017-03-29 22:59:21 UTC) #5
alexmos
https://codereview.chromium.org/2787573003/diff/1/chrome/browser/extensions/chrome_content_browser_client_extensions_part.cc File chrome/browser/extensions/chrome_content_browser_client_extensions_part.cc (right): https://codereview.chromium.org/2787573003/diff/1/chrome/browser/extensions/chrome_content_browser_client_extensions_part.cc#newcode115 chrome/browser/extensions/chrome_content_browser_client_extensions_part.cc:115: // RecordShowAllowOpenURLFailure. On 2017/03/29 22:59:21, ncarter wrote: > It's ...
3 years, 8 months ago (2017-03-31 01:11:04 UTC) #11
ncarter (slow)
lgtm https://codereview.chromium.org/2787573003/diff/20001/tools/metrics/histograms/presubmit_should_allow_open_url_histograms.py File tools/metrics/histograms/presubmit_should_allow_open_url_histograms.py (right): https://codereview.chromium.org/2787573003/diff/20001/tools/metrics/histograms/presubmit_should_allow_open_url_histograms.py#newcode22 tools/metrics/histograms/presubmit_should_allow_open_url_histograms.py:22: histogram_enum_name='ShouldAllowOpenURLFailureScheme', I think it might be generally useful ...
3 years, 8 months ago (2017-04-03 18:34:48 UTC) #14
alexmos
Thanks, Nick. Note that I made a small tweak in PS3 to fix compile on ...
3 years, 8 months ago (2017-04-04 21:18:16 UTC) #19
alexmos
Adding OWNERS: rdevlin.cronin@: please review chrome/browser/extensions/ asvitkine@: please review tools/metrics/histograms/ dbeam@: please review chrome/browser/PRESUBMIT.py
3 years, 8 months ago (2017-04-04 21:21:37 UTC) #21
Dan Beam
lgtm w/nits https://codereview.chromium.org/2787573003/diff/40001/chrome/browser/PRESUBMIT.py File chrome/browser/PRESUBMIT.py (right): https://codereview.chromium.org/2787573003/diff/40001/chrome/browser/PRESUBMIT.py#newcode37 chrome/browser/PRESUBMIT.py:37: import presubmit_should_allow_open_url_histograms this identifier is ... long ...
3 years, 8 months ago (2017-04-04 22:03:46 UTC) #22
Devlin
extensions lgtm, though honestly this is more of a metrics patch than anything else. asvitkine@, ...
3 years, 8 months ago (2017-04-05 01:11:57 UTC) #23
alexmos
Thanks for reviewing! https://codereview.chromium.org/2787573003/diff/40001/chrome/browser/PRESUBMIT.py File chrome/browser/PRESUBMIT.py (right): https://codereview.chromium.org/2787573003/diff/40001/chrome/browser/PRESUBMIT.py#newcode37 chrome/browser/PRESUBMIT.py:37: import presubmit_should_allow_open_url_histograms On 2017/04/04 22:03:46, Dan ...
3 years, 8 months ago (2017-04-05 17:24:51 UTC) #26
Alexei Svitkine (slow)
lgtm https://codereview.chromium.org/2787573003/diff/60001/chrome/browser/extensions/chrome_content_browser_client_extensions_part.cc File chrome/browser/extensions/chrome_content_browser_client_extensions_part.cc (right): https://codereview.chromium.org/2787573003/diff/60001/chrome/browser/extensions/chrome_content_browser_client_extensions_part.cc#newcode693 chrome/browser/extensions/chrome_content_browser_client_extensions_part.cc:693: const char* const kSchemeNames[] = { Nit: Add ...
3 years, 8 months ago (2017-04-05 19:13:58 UTC) #29
alexmos
Thanks! https://codereview.chromium.org/2787573003/diff/60001/chrome/browser/extensions/chrome_content_browser_client_extensions_part.cc File chrome/browser/extensions/chrome_content_browser_client_extensions_part.cc (right): https://codereview.chromium.org/2787573003/diff/60001/chrome/browser/extensions/chrome_content_browser_client_extensions_part.cc#newcode693 chrome/browser/extensions/chrome_content_browser_client_extensions_part.cc:693: const char* const kSchemeNames[] = { On 2017/04/05 ...
3 years, 8 months ago (2017-04-05 19:53:41 UTC) #30
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/2787573003/80001
3 years, 8 months ago (2017-04-05 19:55:56 UTC) #33
commit-bot: I haz the power
3 years, 8 months ago (2017-04-05 21:16:03 UTC) #36
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/7f7bae62d5928d1da3e0d100d5f4...

Powered by Google App Engine
This is Rietveld 408576698