Rename test-only version of DownloadItemUtils::AttachInfo

The three argument version of this function is now only
used for tests, so this CL changes the name to make this
clearer. This is a follow-on CL to crrev.com/c/3318976.

This is a mechanical change and should not change behavior.

Bug: 1278041
Change-Id: Ia0ac843f1cbaa406b2b74703435d91dae4163ce8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3324583
Reviewed-by: Min Qin <[email protected]>
Reviewed-by: Roger Tawa <[email protected]>
Reviewed-by: Alex Moshchuk <[email protected]>
Reviewed-by: Hidehiko Abe <[email protected]>
Reviewed-by: Daniel Rubery <[email protected]>
Commit-Queue: Ian Vollick <[email protected]>
Cr-Commit-Position: refs/heads/main@{#950786}
diff --git a/chrome/browser/download/download_query_unittest.cc b/chrome/browser/download/download_query_unittest.cc
index 0d720e5..0135229 100644
--- a/chrome/browser/download/download_query_unittest.cc
+++ b/chrome/browser/download/download_query_unittest.cc
@@ -68,7 +68,8 @@
       mocks_.push_back(owned_mocks_.back().get());
       EXPECT_CALL(mock(mocks_.size() - 1), GetId()).WillRepeatedly(Return(
           mocks_.size() - 1));
-      content::DownloadItemUtils::AttachInfo(mocks_.back(), nullptr, nullptr);
+      content::DownloadItemUtils::AttachInfoForTesting(mocks_.back(), nullptr,
+                                                       nullptr);
     }
   }