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

Issue 323953002: Support for recording registered LSPs (Closed)

Created:
6 years, 6 months ago by pmonette
Modified:
6 years, 5 months ago
Reviewers:
grt (UTC plus 2), mattm
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@grt
Visibility:
Public.

Description

Include loaded modules in safe browsing client incident reports. This includes the sanitized paths of all loaded modules and an indication for those that host active LSPs. BUG=386156 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278655 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=280066

Patch Set 1 #

Total comments: 31

Patch Set 2 : Modifications based on feedback received #

Total comments: 14

Patch Set 3 : Changes to csd.proto to fit protobuf guidelines. Base_address and length now use unit32. #

Patch Set 4 : Final rebase #

Total comments: 15

Patch Set 5 : Addressing comments #

Total comments: 6

Patch Set 6 : Addressing more comments #

Total comments: 2

Patch Set 7 : Fixing last nit #

Patch Set 8 : Updated trunk and fixed conflics #

Patch Set 9 : Fixing the unit test that was failing on WinXP #

Total comments: 3

Patch Set 10 : Converting paths to lowercase instead of doing a case-insensitive comparison #

Patch Set 11 : Sync and resolve conflic with trunk #

Unified diffs Side-by-side diffs Delta from patch set Stats (+374 lines, -32 lines) Patch
M chrome/browser/safe_browsing/environment_data_collection_win.h View 1 2 1 chunk +23 lines, -14 lines 0 comments Download
M chrome/browser/safe_browsing/environment_data_collection_win.cc View 1 2 3 4 5 6 7 8 9 1 chunk +97 lines, -16 lines 0 comments Download
A chrome/browser/safe_browsing/environment_data_collection_win_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +117 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/path_sanitizer.h View 1 2 3 4 5 1 chunk +31 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/path_sanitizer.cc View 1 2 3 4 5 1 chunk +30 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/path_sanitizer_unittest.cc View 1 2 3 4 5 1 chunk +59 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/safe_browsing/csd.proto View 1 2 3 4 5 6 7 3 chunks +13 lines, -2 lines 0 comments Download

Messages

Total messages: 48 (0 generated)
pmonette_google.com
Please take a look.
6 years, 6 months ago (2014-06-09 21:24:35 UTC) #1
grt (UTC plus 2)
looks good https://codereview.chromium.org/323953002/diff/1/chrome/browser/safe_browsing/environment_data_collection.h File chrome/browser/safe_browsing/environment_data_collection.h (right): https://codereview.chromium.org/323953002/diff/1/chrome/browser/safe_browsing/environment_data_collection.h#newcode1 chrome/browser/safe_browsing/environment_data_collection.h:1: // Copyright 2014 The Chromium Authors. All ...
6 years, 6 months ago (2014-06-10 13:47:54 UTC) #2
grt (UTC plus 2)
Please update the CL description. The description ends up being the commit message, so it ...
6 years, 6 months ago (2014-06-10 13:55:50 UTC) #3
pmonette_google.com
So I cleaned up things a bit based on your feedback. Please take another look. ...
6 years, 6 months ago (2014-06-10 19:34:39 UTC) #4
grt (UTC plus 2)
looks really good https://codereview.chromium.org/323953002/diff/20001/chrome/browser/safe_browsing/environment_data_collection_win.cc File chrome/browser/safe_browsing/environment_data_collection_win.cc (right): https://codereview.chromium.org/323953002/diff/20001/chrome/browser/safe_browsing/environment_data_collection_win.cc#newcode86 chrome/browser/safe_browsing/environment_data_collection_win.cc:86: ClientIncidentReport_EnvironmentData_Process_Dll_Feature_LSP); i think it looks a ...
6 years, 6 months ago (2014-06-10 20:57:54 UTC) #5
pmonette_google.com
There you go. Please take another look. https://codereview.chromium.org/323953002/diff/20001/chrome/browser/safe_browsing/environment_data_collection_win.cc File chrome/browser/safe_browsing/environment_data_collection_win.cc (right): https://codereview.chromium.org/323953002/diff/20001/chrome/browser/safe_browsing/environment_data_collection_win.cc#newcode86 chrome/browser/safe_browsing/environment_data_collection_win.cc:86: ClientIncidentReport_EnvironmentData_Process_Dll_Feature_LSP); On ...
6 years, 6 months ago (2014-06-10 21:39:04 UTC) #6
grt (UTC plus 2)
lgtm. please update the change description. how about: """ Include loaded modules in safe browsing ...
6 years, 6 months ago (2014-06-11 13:33:24 UTC) #7
grt (UTC plus 2)
On 2014/06/11 13:33:24, grt wrote: > lgtm. please update the change description. how about: > ...
6 years, 6 months ago (2014-06-11 13:34:40 UTC) #8
pmonette_google.com
I just made a final rebase. Take a look
6 years, 6 months ago (2014-06-16 19:30:51 UTC) #9
grt (UTC plus 2)
https://codereview.chromium.org/323953002/diff/60001/chrome/browser/safe_browsing/path_sanitizer.cc File chrome/browser/safe_browsing/path_sanitizer.cc (right): https://codereview.chromium.org/323953002/diff/60001/chrome/browser/safe_browsing/path_sanitizer.cc#newcode32 chrome/browser/safe_browsing/path_sanitizer.cc:32: base::FilePath file_path(*file_path_str); looks like you'll either need to make ...
6 years, 6 months ago (2014-06-16 20:30:38 UTC) #10
mattm
https://codereview.chromium.org/323953002/diff/60001/chrome/browser/safe_browsing/environment_data_collection_win_unittest.cc File chrome/browser/safe_browsing/environment_data_collection_win_unittest.cc (right): https://codereview.chromium.org/323953002/diff/60001/chrome/browser/safe_browsing/environment_data_collection_win_unittest.cc#newcode39 chrome/browser/safe_browsing/environment_data_collection_win_unittest.cc:39: base::FilePath msvdc32_dll(L"msvidc32.dll"); Are these tests portable? It seems like ...
6 years, 6 months ago (2014-06-17 01:28:18 UTC) #11
grt (UTC plus 2)
https://codereview.chromium.org/323953002/diff/60001/chrome/common/safe_browsing/csd.proto File chrome/common/safe_browsing/csd.proto (right): https://codereview.chromium.org/323953002/diff/60001/chrome/common/safe_browsing/csd.proto#newcode406 chrome/common/safe_browsing/csd.proto:406: optional uint32 base_address = 2; On 2014/06/17 01:28:18, mattm ...
6 years, 6 months ago (2014-06-17 10:22:05 UTC) #12
grt (UTC plus 2)
https://codereview.chromium.org/323953002/diff/60001/chrome/common/safe_browsing/csd.proto File chrome/common/safe_browsing/csd.proto (right): https://codereview.chromium.org/323953002/diff/60001/chrome/common/safe_browsing/csd.proto#newcode406 chrome/common/safe_browsing/csd.proto:406: optional uint32 base_address = 2; On 2014/06/17 10:22:05, grt ...
6 years, 6 months ago (2014-06-17 13:10:06 UTC) #13
pmonette_google.com
Thanks for the feedback. Take another look please. https://codereview.chromium.org/323953002/diff/60001/chrome/browser/safe_browsing/environment_data_collection_win_unittest.cc File chrome/browser/safe_browsing/environment_data_collection_win_unittest.cc (right): https://codereview.chromium.org/323953002/diff/60001/chrome/browser/safe_browsing/environment_data_collection_win_unittest.cc#newcode39 chrome/browser/safe_browsing/environment_data_collection_win_unittest.cc:39: base::FilePath ...
6 years, 6 months ago (2014-06-17 17:48:22 UTC) #14
mattm
https://codereview.chromium.org/323953002/diff/60001/chrome/browser/safe_browsing/environment_data_collection_win_unittest.cc File chrome/browser/safe_browsing/environment_data_collection_win_unittest.cc (right): https://codereview.chromium.org/323953002/diff/60001/chrome/browser/safe_browsing/environment_data_collection_win_unittest.cc#newcode39 chrome/browser/safe_browsing/environment_data_collection_win_unittest.cc:39: base::FilePath msvdc32_dll(L"msvidc32.dll"); On 2014/06/17 17:48:22, pmonette wrote: > On ...
6 years, 6 months ago (2014-06-17 17:55:52 UTC) #15
mattm
oh, and include BUG number in the description
6 years, 6 months ago (2014-06-17 17:56:31 UTC) #16
grt (UTC plus 2)
https://codereview.chromium.org/323953002/diff/80001/chrome/browser/safe_browsing/environment_data_collection_win.cc File chrome/browser/safe_browsing/environment_data_collection_win.cc (right): https://codereview.chromium.org/323953002/diff/80001/chrome/browser/safe_browsing/environment_data_collection_win.cc#newcode58 chrome/browser/safe_browsing/environment_data_collection_win.cc:58: path_sanitizer.StripHomeDirectoryFromString(&dll_path); how about making dll_path a FilePath here and ...
6 years, 6 months ago (2014-06-17 18:05:07 UTC) #17
grt (UTC plus 2)
On 2014/06/17 17:56:31, mattm wrote: > oh, and include BUG number in the description I've ...
6 years, 6 months ago (2014-06-18 13:43:30 UTC) #18
pmonette_google.com
Another round of changes. Can you take another look please? https://codereview.chromium.org/323953002/diff/60001/chrome/browser/safe_browsing/environment_data_collection_win_unittest.cc File chrome/browser/safe_browsing/environment_data_collection_win_unittest.cc (right): https://codereview.chromium.org/323953002/diff/60001/chrome/browser/safe_browsing/environment_data_collection_win_unittest.cc#newcode39 ...
6 years, 6 months ago (2014-06-18 15:34:19 UTC) #19
grt (UTC plus 2)
lgtm with a nit. please do "git cl try" to run the full battery of ...
6 years, 6 months ago (2014-06-18 15:42:41 UTC) #20
pmonette_google.com
Fixed https://codereview.chromium.org/323953002/diff/100001/chrome/browser/safe_browsing/environment_data_collection_win_unittest.cc File chrome/browser/safe_browsing/environment_data_collection_win_unittest.cc (right): https://codereview.chromium.org/323953002/diff/100001/chrome/browser/safe_browsing/environment_data_collection_win_unittest.cc#newcode39 chrome/browser/safe_browsing/environment_data_collection_win_unittest.cc:39: // msvidc32.dll exists in both 32 and 64 ...
6 years, 6 months ago (2014-06-18 21:33:29 UTC) #21
mattm
lgtm
6 years, 6 months ago (2014-06-18 22:52:06 UTC) #22
grt (UTC plus 2)
Hi Patrick, Please update past r278358 (and resolve the merge conflicts in the .proto file) ...
6 years, 6 months ago (2014-06-19 14:11:11 UTC) #23
pmonette_google.com
It is done Greg.
6 years, 6 months ago (2014-06-19 15:15:49 UTC) #24
pmonette_google.com
The CQ bit was checked by pmonette@google.com
6 years, 6 months ago (2014-06-19 15:41:12 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pmonette@google.com/323953002/140001
6 years, 6 months ago (2014-06-19 15:42:22 UTC) #26
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-19 19:07:39 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_aosp/builds/85446)
6 years, 6 months ago (2014-06-19 19:07:40 UTC) #28
pmonette_google.com
The CQ bit was checked by pmonette@google.com
6 years, 6 months ago (2014-06-19 19:40:52 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pmonette@google.com/323953002/140001
6 years, 6 months ago (2014-06-19 19:42:59 UTC) #30
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-20 01:33:20 UTC) #31
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-20 02:36:10 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_rel/builds/30027)
6 years, 6 months ago (2014-06-20 02:36:11 UTC) #33
grt (UTC plus 2)
The CQ bit was checked by grt@chromium.org
6 years, 6 months ago (2014-06-20 02:55:37 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pmonette@google.com/323953002/140001
6 years, 6 months ago (2014-06-20 02:57:08 UTC) #35
commit-bot: I haz the power
Change committed as 278655
6 years, 6 months ago (2014-06-20 09:46:55 UTC) #36
pmonette_google.com
I've fixed the test that was failing on WinXP. It was a matter of case-sensitive ...
6 years, 6 months ago (2014-06-23 22:10:41 UTC) #37
mattm
https://codereview.chromium.org/323953002/diff/180001/chrome/browser/safe_browsing/environment_data_collection_win.cc File chrome/browser/safe_browsing/environment_data_collection_win.cc (right): https://codereview.chromium.org/323953002/diff/180001/chrome/browser/safe_browsing/environment_data_collection_win.cc#newcode84 chrome/browser/safe_browsing/environment_data_collection_win.cc:84: for (std::set<std::wstring>::const_iterator iter = lsp_paths.begin(); How many entries are ...
6 years, 6 months ago (2014-06-23 22:23:16 UTC) #38
grt (UTC plus 2)
https://codereview.chromium.org/323953002/diff/180001/chrome/browser/safe_browsing/environment_data_collection_win.cc File chrome/browser/safe_browsing/environment_data_collection_win.cc (right): https://codereview.chromium.org/323953002/diff/180001/chrome/browser/safe_browsing/environment_data_collection_win.cc#newcode84 chrome/browser/safe_browsing/environment_data_collection_win.cc:84: for (std::set<std::wstring>::const_iterator iter = lsp_paths.begin(); On 2014/06/23 22:23:16, mattm ...
6 years, 6 months ago (2014-06-24 13:48:15 UTC) #39
pmonette_google.com
Take a look please. https://codereview.chromium.org/323953002/diff/180001/chrome/browser/safe_browsing/environment_data_collection_win.cc File chrome/browser/safe_browsing/environment_data_collection_win.cc (right): https://codereview.chromium.org/323953002/diff/180001/chrome/browser/safe_browsing/environment_data_collection_win.cc#newcode84 chrome/browser/safe_browsing/environment_data_collection_win.cc:84: for (std::set<std::wstring>::const_iterator iter = lsp_paths.begin(); ...
6 years, 6 months ago (2014-06-25 14:29:12 UTC) #40
grt (UTC plus 2)
lgtm. please sync to ToT (merge conflict with chrome_browser.gypi), re-upload, and re-run tryjobs. thanks.
6 years, 6 months ago (2014-06-25 17:11:32 UTC) #41
mattm
lgtm
6 years, 6 months ago (2014-06-25 21:56:44 UTC) #42
pmonette_google.com
The CQ bit was checked by pmonette@google.com
6 years, 6 months ago (2014-06-26 14:01:06 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pmonette@google.com/323953002/220001
6 years, 6 months ago (2014-06-26 14:02:08 UTC) #44
commit-bot: I haz the power
Change committed as 280066
6 years, 6 months ago (2014-06-26 19:03:17 UTC) #45
pmonette_google.com
Please take a look at my recent modification. RecordLspFeature unit test was failing on some ...
6 years, 5 months ago (2014-06-27 15:50:39 UTC) #46
pmonette_google.com
On 2014/06/27 15:50:39, pmonette wrote: > Please take a look at my recent modification. > ...
6 years, 5 months ago (2014-06-27 15:53:42 UTC) #47
pmonette_google.com
6 years, 5 months ago (2014-06-27 15:53:45 UTC) #48
On 2014/06/27 15:50:39, pmonette wrote:
> Please take a look at my recent modification.
> 
> RecordLspFeature unit test was failing on some windows try bots where
> mswsock.dll was already loaded into the process.

So I have moved this to another CL since this one has already landed.

Powered by Google App Engine
This is Rietveld 408576698