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

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: addressed sky's nit 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 92179)
+++ 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);
« no previous file with comments | « chrome/browser/download/download_safe_browsing_client.cc ('k') | chrome/browser/profiles/off_the_record_profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698