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

Unified Diff: chrome/browser/download/download_safe_browsing_client_unittest.cc

Issue 7134017: Make safe browsing work in a multi-profile environment. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: fix incognito browser tests Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/download/download_safe_browsing_client_unittest.cc
===================================================================
--- chrome/browser/download/download_safe_browsing_client_unittest.cc (revision 91583)
+++ chrome/browser/download/download_safe_browsing_client_unittest.cc (working copy)
@@ -59,7 +59,7 @@
url_chain.push_back(GURL(kUrl3));
scoped_refptr<DownloadSBClient> client(
- new DownloadSBClient(1, url_chain, GURL(kRefUrl)));
+ new DownloadSBClient(1, url_chain, GURL(kRefUrl), true));
client->SetSBService(sb_service.get());
client->ReportMalware(SafeBrowsingService::BINARY_MALWARE_URL, "");
@@ -82,7 +82,7 @@
url_chain.push_back(GURL(kUrl3));
scoped_refptr<DownloadSBClient> client(
- new DownloadSBClient(1, url_chain, GURL(kRefUrl)));
+ new DownloadSBClient(1, url_chain, GURL(kRefUrl), true));
client->SetSBService(sb_service.get());
client->ReportMalware(SafeBrowsingService::BINARY_MALWARE_HASH, hash_data);

Powered by Google App Engine
This is Rietveld 408576698