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

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

Issue 2561743003: Use associated interface on DownloadedTempFile (Closed)
Patch Set: typo fix Created 3 years, 11 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: 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 9f3361f47b5ea1de64ba187adec0d838d2c95300..b83f89c1950c73613ed3963f2bd787131237ef26 100644
--- a/content/browser/loader/resource_dispatcher_host_unittest.cc
+++ b/content/browser/loader/resource_dispatcher_host_unittest.cc
@@ -3428,9 +3428,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