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

Unified Diff: content/browser/loader/resource_dispatcher_host_unittest.cc

Issue 2561743003: Use associated interface on DownloadedTempFile (Closed)
Patch Set: +\n. +comment. Created 4 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
Index: content/browser/loader/resource_dispatcher_host_unittest.cc
diff --git a/content/browser/loader/resource_dispatcher_host_unittest.cc b/content/browser/loader/resource_dispatcher_host_unittest.cc
index 6c1a116dacb5b8773128363c82e9377fa2c33133..e4256a644052687099ab415b38992e41ec2c2e77 100644
--- a/content/browser/loader/resource_dispatcher_host_unittest.cc
+++ b/content/browser/loader/resource_dispatcher_host_unittest.cc
@@ -3426,9 +3426,9 @@ TEST_P(ResourceDispatcherHostTest, RegisterDownloadedTempFileWithMojo) {
// Register it for a resource request.
auto downloaded_file =
- DownloadedTempFileImpl::Create(filter_->child_id(), kRequestID);
+ DownloadedTempFileImpl::CreateForTesting(filter_->child_id(), kRequestID);
mojom::DownloadedTempFilePtr downloaded_file_ptr =
- DownloadedTempFileImpl::Create(filter_->child_id(), kRequestID);
+ DownloadedTempFileImpl::CreateForTesting(filter_->child_id(), kRequestID);
host_.RegisterDownloadedTempFile(filter_->child_id(), kRequestID, file_path);
// Should be readable now.

Powered by Google App Engine
This is Rietveld 408576698