commit | 8f08232118585b3a20f6c2620717d32218df45cb | [log] [tgz] |
---|---|---|
author | Ian Vollick <[email protected]> | Sat Dec 11 14:27:56 2021 |
committer | Chromium LUCI CQ <[email protected]> | Sat Dec 11 14:27:56 2021 |
tree | b9de8ecb163249823f2261963550009504711e55 | |
parent | b8ab98740c0b974249386b5c8ceb131090ad6bd2 [diff] [blame] |
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); } }