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

Issue 6710004: Querying the history service to get the redirect information for urls.... (Closed)

Created:
9 years, 9 months ago by kewang
Modified:
9 years, 7 months ago
Visibility:
Public.

Description

Querying the history service to get the redirect information for urls. Bug=60831 TEST=unit_tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86401

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 20

Patch Set 8 : '' #

Total comments: 50

Patch Set 9 : '' #

Total comments: 4

Patch Set 10 : '' #

Total comments: 6

Patch Set 11 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+331 lines, -3 lines) Patch
M chrome/browser/safe_browsing/malware_details.h View 1 2 3 4 5 6 7 8 5 chunks +13 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/malware_details.cc View 1 2 3 4 5 6 7 8 5 chunks +34 lines, -1 line 0 comments Download
A chrome/browser/safe_browsing/malware_details_history.h View 1 2 3 4 5 6 7 8 9 1 chunk +82 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/malware_details_history.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +121 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/malware_details_unittest.cc View 1 2 3 4 5 6 7 8 9 5 chunks +79 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
panayiotis
http://codereview.chromium.org/6710004/diff/15002/chrome/browser/safe_browsing/malware_details.cc File chrome/browser/safe_browsing/malware_details.cc (right): http://codereview.chromium.org/6710004/diff/15002/chrome/browser/safe_browsing/malware_details.cc#newcode236 chrome/browser/safe_browsing/malware_details.cc:236: if (cache_collector_->HasStarted()) { drop the { here http://codereview.chromium.org/6710004/diff/15002/chrome/browser/safe_browsing/malware_details.cc#newcode286 chrome/browser/safe_browsing/malware_details.cc:286: ...
9 years, 7 months ago (2011-05-13 21:15:26 UTC) #1
Paweł Hajdan Jr.
Drive-by with a testing comment. http://codereview.chromium.org/6710004/diff/15002/chrome/browser/safe_browsing/malware_details_unittest.cc File chrome/browser/safe_browsing/malware_details_unittest.cc (right): http://codereview.chromium.org/6710004/diff/15002/chrome/browser/safe_browsing/malware_details_unittest.cc#newcode235 chrome/browser/safe_browsing/malware_details_unittest.cc:235: void WaitForHistory() { Isn't ...
9 years, 7 months ago (2011-05-14 09:33:49 UTC) #2
kewang
http://codereview.chromium.org/6710004/diff/15002/chrome/browser/safe_browsing/malware_details.cc File chrome/browser/safe_browsing/malware_details.cc (right): http://codereview.chromium.org/6710004/diff/15002/chrome/browser/safe_browsing/malware_details.cc#newcode236 chrome/browser/safe_browsing/malware_details.cc:236: if (cache_collector_->HasStarted()) { On 2011/05/13 21:15:26, panayiotis wrote: > ...
9 years, 7 months ago (2011-05-16 07:11:51 UTC) #3
panayiotis
Looks nice. Let's have Matt have a look. http://codereview.chromium.org/6710004/diff/22001/chrome/browser/safe_browsing/malware_details.cc File chrome/browser/safe_browsing/malware_details.cc (right): http://codereview.chromium.org/6710004/diff/22001/chrome/browser/safe_browsing/malware_details.cc#newcode287 chrome/browser/safe_browsing/malware_details.cc:287: LOG(INFO) ...
9 years, 7 months ago (2011-05-16 17:14:55 UTC) #4
mattm
http://codereview.chromium.org/6710004/diff/22001/chrome/browser/safe_browsing/malware_details.cc File chrome/browser/safe_browsing/malware_details.cc (right): http://codereview.chromium.org/6710004/diff/22001/chrome/browser/safe_browsing/malware_details.cc#newcode285 chrome/browser/safe_browsing/malware_details.cc:285: for (uint i = 0; i < urls.size()-1; ++i) ...
9 years, 7 months ago (2011-05-17 03:17:00 UTC) #5
Paweł Hajdan Jr.
I'd like to take another look after the |profile_| issue gets sorted out (good catch ...
9 years, 7 months ago (2011-05-17 15:13:54 UTC) #6
panayiotis
http://codereview.chromium.org/6710004/diff/22001/chrome/browser/safe_browsing/malware_details.cc File chrome/browser/safe_browsing/malware_details.cc (right): http://codereview.chromium.org/6710004/diff/22001/chrome/browser/safe_browsing/malware_details.cc#newcode286 chrome/browser/safe_browsing/malware_details.cc:286: AddUrl(urls[i], urls[i+1], "redir", NULL); Actually I take it back, ...
9 years, 7 months ago (2011-05-17 17:19:48 UTC) #7
kewang
Thanks for the comments. Updated, and please take another look. http://codereview.chromium.org/6710004/diff/22001/chrome/browser/safe_browsing/malware_details.cc File chrome/browser/safe_browsing/malware_details.cc (right): http://codereview.chromium.org/6710004/diff/22001/chrome/browser/safe_browsing/malware_details.cc#newcode285 ...
9 years, 7 months ago (2011-05-18 05:47:39 UTC) #8
Paweł Hajdan Jr.
Code I commented in the drive-by LGTM.
9 years, 7 months ago (2011-05-18 07:38:34 UTC) #9
mattm
http://codereview.chromium.org/6710004/diff/26002/chrome/browser/safe_browsing/malware_details_history.cc File chrome/browser/safe_browsing/malware_details_history.cc (right): http://codereview.chromium.org/6710004/diff/26002/chrome/browser/safe_browsing/malware_details_history.cc#newcode20 chrome/browser/safe_browsing/malware_details_history.cc:20: request_consumer_ = new CancelableRequestConsumer(); This will still be leaked. ...
9 years, 7 months ago (2011-05-18 22:31:47 UTC) #10
kewang
http://codereview.chromium.org/6710004/diff/26002/chrome/browser/safe_browsing/malware_details_history.cc File chrome/browser/safe_browsing/malware_details_history.cc (right): http://codereview.chromium.org/6710004/diff/26002/chrome/browser/safe_browsing/malware_details_history.cc#newcode20 chrome/browser/safe_browsing/malware_details_history.cc:20: request_consumer_ = new CancelableRequestConsumer(); On 2011/05/18 22:31:47, mattm wrote: ...
9 years, 7 months ago (2011-05-19 06:03:10 UTC) #11
panayiotis
Is there anything to do in the relevant browser_test? I guess it just passes? http://codereview.chromium.org/6710004/diff/35001/chrome/browser/safe_browsing/malware_details_history.cc ...
9 years, 7 months ago (2011-05-19 17:08:37 UTC) #12
kewang
Yes, all the unit_tests and browser_tests pass. http://codereview.chromium.org/6710004/diff/35001/chrome/browser/safe_browsing/malware_details_history.cc File chrome/browser/safe_browsing/malware_details_history.cc (right): http://codereview.chromium.org/6710004/diff/35001/chrome/browser/safe_browsing/malware_details_history.cc#newcode29 chrome/browser/safe_browsing/malware_details_history.cc:29: LOG(INFO) << ...
9 years, 7 months ago (2011-05-20 03:52:55 UTC) #13
panayiotis
lgtm On 2011/05/20 03:52:55, kewang wrote: > Yes, all the unit_tests and browser_tests pass. > ...
9 years, 7 months ago (2011-05-20 16:54:16 UTC) #14
mattm
9 years, 7 months ago (2011-05-20 20:40:13 UTC) #15
lgtm

Powered by Google App Engine
This is Rietveld 408576698