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

Issue 1414343007: Collect threat details for phishing and UwS (Closed)

Created:
5 years, 1 month ago by Jialiu Lin
Modified:
5 years, 1 month ago
CC:
chromium-reviews, grt+watch_chromium.org, noelutz, Yue Zhang
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Collect threat details for phishing and UwS, and send ClientSafeBrowsingReportRequest to backend. Also, merge chrome/browser/safe_browsing/report.proto into chrome/common/safe_browsing/csd.proto for easy reusing code. All *.gypi or BUILD.gn files are because of file renaming and merge of protos. Somehow, "git mv" does not work on renaming malware_dom_detail.h to threat_dom_detail.h. Only change in these two files is s/malware/threat BUG=547144 Committed: https://crrev.com/eed304432289a78787fa4c595bf1aae1686b746a Cr-Commit-Position: refs/heads/master@{#358637}

Patch Set 1 #

Patch Set 2 : fix browser test #

Patch Set 3 : nit #

Patch Set 4 : nit #

Total comments: 12

Patch Set 5 : tweak on proto #

Patch Set 6 : merge proto #

Patch Set 7 : nit #

Patch Set 8 : fix gypi files #

Patch Set 9 : nit #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+445 lines, -656 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/BUILD.gn View 1 2 3 4 5 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/browser/safe_browsing/report.proto View 1 2 3 4 5 1 chunk +0 lines, -99 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page.h View 1 2 3 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page.cc View 1 2 3 4 4 chunks +16 lines, -8 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc View 1 2 5 chunks +18 lines, -17 lines 0 comments Download
M chrome/browser/safe_browsing/threat_details.h View 1 2 3 4 5 6 chunks +9 lines, -9 lines 0 comments Download
M chrome/browser/safe_browsing/threat_details.cc View 1 2 3 4 5 6 15 chunks +50 lines, -24 lines 0 comments Download
M chrome/browser/safe_browsing/threat_details_cache.h View 1 2 3 4 5 4 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/safe_browsing/threat_details_cache.cc View 1 2 3 4 5 7 chunks +10 lines, -10 lines 0 comments Download
M chrome/browser/safe_browsing/threat_details_unittest.cc View 1 2 3 4 5 28 chunks +109 lines, -88 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 2 chunks +1 line, -14 lines 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -2 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_renderer.gypi View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/safe_browsing/csd.proto View 1 2 3 4 5 6 2 chunks +107 lines, -3 lines 2 comments Download
M chrome/common/safe_browsing/safebrowsing_messages.h View 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 2 chunks +2 lines, -2 lines 0 comments Download
D chrome/renderer/safe_browsing/malware_dom_details.h View 1 chunk +0 lines, -53 lines 0 comments Download
D chrome/renderer/safe_browsing/malware_dom_details.cc View 1 chunk +0 lines, -121 lines 0 comments Download
D chrome/renderer/safe_browsing/malware_dom_details_browsertest.cc View 1 chunk +0 lines, -130 lines 0 comments Download
A chrome/renderer/safe_browsing/threat_dom_details.h View 1 chunk +53 lines, -0 lines 0 comments Download
A + chrome/renderer/safe_browsing/threat_dom_details.cc View 5 chunks +22 lines, -24 lines 0 comments Download
A + chrome/renderer/safe_browsing/threat_dom_details_browsertest.cc View 3 chunks +25 lines, -24 lines 0 comments Download

Messages

Total messages: 27 (11 generated)
Jialiu Lin
+nparker@ for SafeBrowsing review +jhawkins@ for OWNER review of chrome/renderer/chrome_content_renderer_client.cc, chrome/chrome_renderer.gypi, and chrome/chrome_tests.gypi
5 years, 1 month ago (2015-11-03 18:41:36 UTC) #4
Nathan Parker
Looks great, with some minor comments. https://codereview.chromium.org/1414343007/diff/60001/chrome/browser/safe_browsing/report.proto File chrome/browser/safe_browsing/report.proto (right): https://codereview.chromium.org/1414343007/diff/60001/chrome/browser/safe_browsing/report.proto#newcode25 chrome/browser/safe_browsing/report.proto:25: message ClientSafeBrowsingReportRequest { ...
5 years, 1 month ago (2015-11-03 20:51:57 UTC) #5
Jialiu Lin
Thanks, Nathan. Your comments are all addressed. https://codereview.chromium.org/1414343007/diff/60001/chrome/browser/safe_browsing/report.proto File chrome/browser/safe_browsing/report.proto (right): https://codereview.chromium.org/1414343007/diff/60001/chrome/browser/safe_browsing/report.proto#newcode25 chrome/browser/safe_browsing/report.proto:25: message ClientSafeBrowsingReportRequest ...
5 years, 1 month ago (2015-11-04 21:32:25 UTC) #8
Nathan Parker
lgtm https://codereview.chromium.org/1414343007/diff/180001/chrome/common/safe_browsing/csd.proto File chrome/common/safe_browsing/csd.proto (right): https://codereview.chromium.org/1414343007/diff/180001/chrome/common/safe_browsing/csd.proto#newcode5 chrome/common/safe_browsing/csd.proto:5: // This proto file includes: nit: Maybe there's ...
5 years, 1 month ago (2015-11-05 19:43:13 UTC) #9
Jialiu Lin
Thanks, Nathan. Add other reviewers for owner review. https://codereview.chromium.org/1414343007/diff/180001/chrome/common/safe_browsing/csd.proto File chrome/common/safe_browsing/csd.proto (right): https://codereview.chromium.org/1414343007/diff/180001/chrome/common/safe_browsing/csd.proto#newcode5 chrome/common/safe_browsing/csd.proto:5: // ...
5 years, 1 month ago (2015-11-05 21:18:57 UTC) #11
Jialiu Lin
+ achuith@ for owner review of files under chrome/browser/chromeos + sky@ for owner review of ...
5 years, 1 month ago (2015-11-06 17:56:46 UTC) #13
achuithb
On 2015/11/06 17:56:46, JialiuLin wrote: > + achuith@ for owner review of files under chrome/browser/chromeos ...
5 years, 1 month ago (2015-11-06 19:35:16 UTC) #14
sky
LGTM
5 years, 1 month ago (2015-11-06 21:20:35 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1414343007/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1414343007/180001
5 years, 1 month ago (2015-11-06 22:26:48 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/116469)
5 years, 1 month ago (2015-11-06 22:40:31 UTC) #19
Jialiu Lin
Add one more reviewer for chrome/common/safe_browsing/safebrowsing_messages.h OWNER review.
5 years, 1 month ago (2015-11-06 23:03:49 UTC) #21
Jialiu Lin
Gentle ping to palmer@ for owner review on chrome/common/safe_browsing/safebrowsing_messages.h
5 years, 1 month ago (2015-11-09 19:16:46 UTC) #22
palmer
lgtm
5 years, 1 month ago (2015-11-09 19:24:05 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1414343007/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1414343007/180001
5 years, 1 month ago (2015-11-09 19:27:52 UTC) #25
commit-bot: I haz the power
Committed patchset #9 (id:180001)
5 years, 1 month ago (2015-11-09 20:17:12 UTC) #26
commit-bot: I haz the power
5 years, 1 month ago (2015-11-09 20:17:52 UTC) #27
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/eed304432289a78787fa4c595bf1aae1686b746a
Cr-Commit-Position: refs/heads/master@{#358637}

Powered by Google App Engine
This is Rietveld 408576698