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

Unified Diff: chrome/browser/safe_browsing/malware_details_unittest.cc

Issue 8832006: Reverts a commit that caused ASAN failures, and 2 dependent commits. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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
« no previous file with comments | « chrome/browser/chrome_benchmarking_message_filter.cc ('k') | chrome_frame/test/infobar_unittests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/malware_details_unittest.cc
diff --git a/chrome/browser/safe_browsing/malware_details_unittest.cc b/chrome/browser/safe_browsing/malware_details_unittest.cc
index 52fa63370656416284ec8c6c1e68085a8aef3616..67fdb68c00dfd0bc97b71ba0273b15b944b474a7 100644
--- a/chrome/browser/safe_browsing/malware_details_unittest.cc
+++ b/chrome/browser/safe_browsing/malware_details_unittest.cc
@@ -106,11 +106,11 @@ void WriteToEntry(disk_cache::Backend* cache, const std::string key,
}
void FillCache(net::URLRequestContextGetter* context_getter) {
- net::TestCompletionCallback cb;
+ TestOldCompletionCallback cb;
disk_cache::Backend* cache;
int rv =
context_getter->GetURLRequestContext()->http_transaction_factory()->
- GetCache()->GetBackend(&cache, cb.callback());
+ GetCache()->GetBackend(&cache, &cb);
ASSERT_EQ(net::OK, cb.GetResult(rv));
std::string empty;
« no previous file with comments | « chrome/browser/chrome_benchmarking_message_filter.cc ('k') | chrome_frame/test/infobar_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698