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

Unified Diff: chrome/browser/download/download_target_determiner_unittest.cc

Issue 14625016: downloads: Make GetCrDownloadPath a static method on DownloadTargetDeterminer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 7 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
« no previous file with comments | « chrome/browser/download/download_target_determiner.cc ('k') | chrome/browser/download/download_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_target_determiner_unittest.cc
diff --git a/chrome/browser/download/download_target_determiner_unittest.cc b/chrome/browser/download/download_target_determiner_unittest.cc
index 7ac4e1c782fe3e8557e5310a5cbd162db710414b..15b543a31f26b9cbe17449264cbebe2cf26ff56a 100644
--- a/chrome/browser/download/download_target_determiner_unittest.cc
+++ b/chrome/browser/download/download_target_determiner_unittest.cc
@@ -410,7 +410,7 @@ void DownloadTargetDeterminerTest::DownloadTargetVerifier(
switch (test_case.expected_intermediate) {
case EXPECT_CRDOWNLOAD:
- EXPECT_EQ(download_util::GetCrDownloadPath(local_path).value(),
+ EXPECT_EQ(DownloadTargetDeterminer::GetCrDownloadPath(local_path).value(),
intermediate_path.value());
break;
@@ -421,7 +421,8 @@ void DownloadTargetDeterminerTest::DownloadTargetVerifier(
// 2. Points to the same directory as the target.
// 3. Has extension ".crdownload".
// 4. Basename starts with "Unconfirmed ".
- EXPECT_NE(download_util::GetCrDownloadPath(expected_local_path).value(),
+ EXPECT_NE(DownloadTargetDeterminer::GetCrDownloadPath(expected_local_path)
+ .value(),
intermediate_path.value());
EXPECT_EQ(expected_local_path.DirName().value(),
intermediate_path.DirName().value());
« no previous file with comments | « chrome/browser/download/download_target_determiner.cc ('k') | chrome/browser/download/download_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698