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

Issue 6611023: The optional Malware Details also collects HTTP cache information. See design... (Closed)

Created:
9 years, 9 months ago by panayiotis
Modified:
9 years, 7 months ago
CC:
chromium-reviews, Paweł Hajdan Jr.
Visibility:
Public.

Description

The optional Malware Details also collects HTTP cache information. See design doc for background (http://goo.gl/omvhq) Bug=None TEST=None

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 16

Patch Set 3 : '' #

Total comments: 1

Patch Set 4 : '' #

Total comments: 55

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 9

Patch Set 7 : '' #

Total comments: 7

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Total comments: 4

Patch Set 11 : '' #

Patch Set 12 : '' #

Patch Set 13 : '' #

Patch Set 14 : '' #

Patch Set 15 : '' #

Patch Set 16 : '' #

Patch Set 17 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M chrome/browser/safe_browsing/malware_details_cache.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
panayiotis
9 years, 9 months ago (2011-03-03 23:08:30 UTC) #1
lzheng
Panayiotis: Sorry for the late reply. I did not drill into too much details on ...
9 years, 9 months ago (2011-03-05 00:37:50 UTC) #2
panayiotis
Thanks Lei, both suggestions sound reasonable, will get back to this next week. On Fri, ...
9 years, 9 months ago (2011-03-05 02:40:52 UTC) #3
panayiotis
http://codereview.chromium.org/6611023/diff/1010/chrome/browser/safe_browsing/malware_details.cc File chrome/browser/safe_browsing/malware_details.cc (right): http://codereview.chromium.org/6611023/diff/1010/chrome/browser/safe_browsing/malware_details.cc#newcode219 chrome/browser/safe_browsing/malware_details.cc:219: request_context_getter_ = tab_contents()->profile()->GetRequestContext(); On 2011/03/05 00:37:50, lzheng wrote: > ...
9 years, 9 months ago (2011-03-29 18:14:55 UTC) #4
panayiotis
http://codereview.chromium.org/6611023/diff/8001/chrome/browser/safe_browsing/malware_details.cc File chrome/browser/safe_browsing/malware_details.cc (right): http://codereview.chromium.org/6611023/diff/8001/chrome/browser/safe_browsing/malware_details.cc#newcode256 chrome/browser/safe_browsing/malware_details.cc:256: AddRef(); // Ensures we remain alive during cache collection. ...
9 years, 9 months ago (2011-03-29 21:18:17 UTC) #5
lzheng
+ Matt Matt: Would you have to review this patch? I am a little bit ...
9 years, 8 months ago (2011-03-30 23:33:36 UTC) #6
noelutz
Hi Panos, Looks really nice. i haven't looked at all the tests yet since they ...
9 years, 8 months ago (2011-04-06 20:34:19 UTC) #7
panayiotis
Thanks Noe. http://codereview.chromium.org/6611023/diff/14001/chrome/browser/safe_browsing/malware_details.cc File chrome/browser/safe_browsing/malware_details.cc (right): http://codereview.chromium.org/6611023/diff/14001/chrome/browser/safe_browsing/malware_details.cc#newcode268 chrome/browser/safe_browsing/malware_details.cc:268: std::string serialized; On 2011/04/06 20:34:19, noelutz wrote: ...
9 years, 8 months ago (2011-04-07 20:08:32 UTC) #8
noelutz
Looks very nice. Just some minor comments. Thanks, noe. http://codereview.chromium.org/6611023/diff/14001/chrome/browser/safe_browsing/malware_details_cache.cc File chrome/browser/safe_browsing/malware_details_cache.cc (right): http://codereview.chromium.org/6611023/diff/14001/chrome/browser/safe_browsing/malware_details_cache.cc#newcode283 chrome/browser/safe_browsing/malware_details_cache.cc:283: ...
9 years, 8 months ago (2011-04-11 20:32:10 UTC) #9
panayiotis
http://codereview.chromium.org/6611023/diff/14001/chrome/browser/safe_browsing/malware_details_cache.cc File chrome/browser/safe_browsing/malware_details_cache.cc (right): http://codereview.chromium.org/6611023/diff/14001/chrome/browser/safe_browsing/malware_details_cache.cc#newcode283 chrome/browser/safe_browsing/malware_details_cache.cc:283: if (buf_len_ <= kMaxBodySize) { // Only send small ...
9 years, 8 months ago (2011-04-11 21:42:16 UTC) #10
noelutz
LGTM thanks, noe. http://codereview.chromium.org/6611023/diff/14001/chrome/browser/safe_browsing/malware_details_cache.cc File chrome/browser/safe_browsing/malware_details_cache.cc (right): http://codereview.chromium.org/6611023/diff/14001/chrome/browser/safe_browsing/malware_details_cache.cc#newcode283 chrome/browser/safe_browsing/malware_details_cache.cc:283: if (buf_len_ <= kMaxBodySize) { // ...
9 years, 8 months ago (2011-04-11 21:49:15 UTC) #11
mattm
http://codereview.chromium.org/6611023/diff/31002/chrome/browser/safe_browsing/malware_details_cache.cc File chrome/browser/safe_browsing/malware_details_cache.cc (right): http://codereview.chromium.org/6611023/diff/31002/chrome/browser/safe_browsing/malware_details_cache.cc#newcode202 chrome/browser/safe_browsing/malware_details_cache.cc:202: // net::HttpCache::kResponseInfoIndex = 0. Do you know if there ...
9 years, 8 months ago (2011-04-12 01:47:26 UTC) #12
panayiotis
http://codereview.chromium.org/6611023/diff/31002/chrome/browser/safe_browsing/malware_details_cache.cc File chrome/browser/safe_browsing/malware_details_cache.cc (right): http://codereview.chromium.org/6611023/diff/31002/chrome/browser/safe_browsing/malware_details_cache.cc#newcode202 chrome/browser/safe_browsing/malware_details_cache.cc:202: // net::HttpCache::kResponseInfoIndex = 0. On 2011/04/12 01:47:26, mattm wrote: ...
9 years, 8 months ago (2011-04-12 17:23:10 UTC) #13
panayiotis
On 2011/04/12 17:23:10, panayiotis wrote: > http://codereview.chromium.org/6611023/diff/31002/chrome/browser/safe_browsing/malware_details_cache.cc > File chrome/browser/safe_browsing/malware_details_cache.cc (right): > > http://codereview.chromium.org/6611023/diff/31002/chrome/browser/safe_browsing/malware_details_cache.cc#newcode202 > ...
9 years, 8 months ago (2011-04-12 17:23:31 UTC) #14
mattm
http://codereview.chromium.org/6611023/diff/31002/chrome/browser/safe_browsing/malware_details_cache.cc File chrome/browser/safe_browsing/malware_details_cache.cc (right): http://codereview.chromium.org/6611023/diff/31002/chrome/browser/safe_browsing/malware_details_cache.cc#newcode279 chrome/browser/safe_browsing/malware_details_cache.cc:279: return entry_->ReadData(1, 0, buf_, buf_len_, entry_callback_); On 2011/04/12 17:23:10, ...
9 years, 8 months ago (2011-04-12 22:18:12 UTC) #15
panayiotis
Got it. Good find, I wasn't aware of the sparse entries. According to src/net/http/partial_data.h these ...
9 years, 8 months ago (2011-04-12 23:30:25 UTC) #16
panayiotis
Ok, please have another look Matt. The code is now much simpler, and the tests ...
9 years, 8 months ago (2011-04-15 22:27:18 UTC) #17
mattm
http://codereview.chromium.org/6611023/diff/37003/chrome/browser/safe_browsing/malware_details_cache.cc File chrome/browser/safe_browsing/malware_details_cache.cc (right): http://codereview.chromium.org/6611023/diff/37003/chrome/browser/safe_browsing/malware_details_cache.cc#newcode116 chrome/browser/safe_browsing/malware_details_cache.cc:116: status.os_error() == net::ERR_CACHE_MISS) { do we need a test ...
9 years, 8 months ago (2011-04-18 02:19:24 UTC) #18
panayiotis
Thanks Matt, all done http://codereview.chromium.org/6611023/diff/37003/chrome/browser/safe_browsing/malware_details_cache.cc File chrome/browser/safe_browsing/malware_details_cache.cc (right): http://codereview.chromium.org/6611023/diff/37003/chrome/browser/safe_browsing/malware_details_cache.cc#newcode116 chrome/browser/safe_browsing/malware_details_cache.cc:116: status.os_error() == net::ERR_CACHE_MISS) { On ...
9 years, 8 months ago (2011-04-18 17:26:40 UTC) #19
mattm
LGTM On 2011/04/18 17:26:40, panayiotis wrote: > Thanks Matt, all done > > http://codereview.chromium.org/6611023/diff/37003/chrome/browser/safe_browsing/malware_details_cache.cc > ...
9 years, 8 months ago (2011-04-18 21:15:52 UTC) #20
commit-bot: I haz the power
Try job failure for 6611023-37006 on mac: http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac&number=22907
9 years, 8 months ago (2011-04-18 22:07:55 UTC) #21
commit-bot: I haz the power
Try job failure for 6611023-37006 on win: http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number=27105
9 years, 8 months ago (2011-04-18 23:00:46 UTC) #22
commit-bot: I haz the power
Try job failure for 6611023-37006 on linux: http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux&number=22403
9 years, 8 months ago (2011-04-19 00:03:37 UTC) #23
commit-bot: I haz the power
Try job failure for 6611023-51006 on linux: http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux&number=22432
9 years, 8 months ago (2011-04-19 03:36:19 UTC) #24
commit-bot: I haz the power
9 years, 8 months ago (2011-04-19 05:14:38 UTC) #25
Change committed as 82070

Powered by Google App Engine
This is Rietveld 408576698