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

Unified Diff: chrome/browser/win/jumplist_file_util_unittest.cc

Issue 2778513002: Delete JumpListIconsOld and update revised links in every update (Closed)
Patch Set: Address comments. Created 3 years, 9 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/win/jumplist_file_util.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/win/jumplist_file_util_unittest.cc
diff --git a/chrome/browser/win/jumplist_file_util_unittest.cc b/chrome/browser/win/jumplist_file_util_unittest.cc
index 9004bf3ca26204693bfd572da98ea06d6f653ef0..6bb993dca85c172519e589262b470aba48457804 100644
--- a/chrome/browser/win/jumplist_file_util_unittest.cc
+++ b/chrome/browser/win/jumplist_file_util_unittest.cc
@@ -4,7 +4,6 @@
#include "chrome/browser/win/jumplist_file_util.h"
-#include <Shlwapi.h>
#include <string>
#include "base/files/file_util.h"
@@ -94,10 +93,10 @@ TEST_F(JumpListFileUtilTest, DeleteMaxFilesAllowed) {
// Sine the maximum files allowed to delete is 1, only 1 out of the 2
// files is deleted. Therefore, the directory is not empty yet.
ASSERT_EQ(DeleteDirectoryContent(dir_path, kFileDeleteLimitForTest), SUCCEED);
- EXPECT_FALSE(::PathIsDirectoryEmpty(dir_path.value().c_str()));
+ EXPECT_FALSE(base::IsDirectoryEmpty(dir_path));
// Delete another file, and now the directory is empty.
ASSERT_EQ(DeleteDirectoryContent(dir_path, kFileDeleteLimitForTest), SUCCEED);
- EXPECT_TRUE(::PathIsDirectoryEmpty(dir_path.value().c_str()));
+ EXPECT_TRUE(base::IsDirectoryEmpty(dir_path));
EXPECT_TRUE(DirectoryExists(dir_path));
}
« no previous file with comments | « chrome/browser/win/jumplist_file_util.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698