diff options
author | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-20 03:47:34 +0000 |
---|---|---|
committer | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-20 03:47:34 +0000 |
commit | 8799e54a69efe75a81d7e66a96720f680ce8170a (patch) | |
tree | b47bbfcf5fe6cdaff166df4f324e0a028d4e6833 /chrome/browser/safe_browsing/safe_browsing_test.cc | |
parent | 8b1f708235422955fea682718f7ee6a96fe06c60 (diff) | |
download | chromium_src-8799e54a69efe75a81d7e66a96720f680ce8170a.zip chromium_src-8799e54a69efe75a81d7e66a96720f680ce8170a.tar.gz chromium_src-8799e54a69efe75a81d7e66a96720f680ce8170a.tar.bz2 |
Check all redirect URLs against download safebrowsing list.
BUG=77942
TEST=unit_tests, browser_tests, manual(see bug)
Review URL: http://codereview.chromium.org/6881041
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82231 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/safe_browsing/safe_browsing_test.cc')
-rw-r--r-- | chrome/browser/safe_browsing/safe_browsing_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/safe_browsing/safe_browsing_test.cc b/chrome/browser/safe_browsing/safe_browsing_test.cc index aad0d1a..80ba01d 100644 --- a/chrome/browser/safe_browsing/safe_browsing_test.cc +++ b/chrome/browser/safe_browsing/safe_browsing_test.cc @@ -361,7 +361,8 @@ class SafeBrowsingServiceTestHelper &SafeBrowsingServiceTestHelper::OnCheckUrlDone)); } virtual void OnDownloadUrlCheckResult( - const GURL& url, SafeBrowsingService::UrlCheckResult result) { + const std::vector<GURL>& url_chain, + SafeBrowsingService::UrlCheckResult result) { // TODO(lzheng): Add test for DownloadUrl. } |