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

Unified Diff: chrome/browser/safe_browsing/download_feedback_unittest.cc

Issue 18286004: Move PathExists to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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: chrome/browser/safe_browsing/download_feedback_unittest.cc
diff --git a/chrome/browser/safe_browsing/download_feedback_unittest.cc b/chrome/browser/safe_browsing/download_feedback_unittest.cc
index 0054a693c47c9c0066dcb395456a78d46a1630d7..3edc8bd9e93752c7b6d17528b0b0fd9b1c016b76 100644
--- a/chrome/browser/safe_browsing/download_feedback_unittest.cc
+++ b/chrome/browser/safe_browsing/download_feedback_unittest.cc
@@ -192,14 +192,14 @@ TEST_F(DownloadFeedbackTest, CompleteUpload) {
uploader()->metadata_);
EXPECT_EQ(kTestFeedbackURL, uploader()->base_url_.spec());
- EXPECT_TRUE(file_util::PathExists(upload_file_path_));
+ EXPECT_TRUE(base::PathExists(upload_file_path_));
EXPECT_FALSE(feedback_finish_called_);
uploader()->finish_callback_.Run(
TwoPhaseUploader::STATE_SUCCESS, net::OK, 0, "");
EXPECT_TRUE(feedback_finish_called_);
base::RunLoop().RunUntilIdle();
- EXPECT_FALSE(file_util::PathExists(upload_file_path_));
+ EXPECT_FALSE(base::PathExists(upload_file_path_));
}
TEST_F(DownloadFeedbackTest, CancelUpload) {
@@ -230,13 +230,13 @@ TEST_F(DownloadFeedbackTest, CancelUpload) {
ASSERT_TRUE(uploader());
EXPECT_FALSE(feedback_finish_called_);
EXPECT_TRUE(uploader()->start_called_);
- EXPECT_TRUE(file_util::PathExists(upload_file_path_));
+ EXPECT_TRUE(base::PathExists(upload_file_path_));
delete feedback;
EXPECT_FALSE(feedback_finish_called_);
base::RunLoop().RunUntilIdle();
- EXPECT_FALSE(file_util::PathExists(upload_file_path_));
+ EXPECT_FALSE(base::PathExists(upload_file_path_));
}
} // namespace safe_browsing

Powered by Google App Engine
This is Rietveld 408576698