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

Unified Diff: chrome/browser/net/net_log_temp_file_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
« no previous file with comments | « chrome/browser/net/net_log_temp_file.cc ('k') | chrome/browser/net/sqlite_server_bound_cert_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/net_log_temp_file_unittest.cc
diff --git a/chrome/browser/net/net_log_temp_file_unittest.cc b/chrome/browser/net/net_log_temp_file_unittest.cc
index e77ecc539346accc2a424686078f32f2a0c35a04..3d062bf7bfcfb8dddae0ceb80f5cf970ba4087be 100644
--- a/chrome/browser/net/net_log_temp_file_unittest.cc
+++ b/chrome/browser/net/net_log_temp_file_unittest.cc
@@ -93,7 +93,7 @@ class NetLogTempFileTest : public ::testing::Test {
// constants will always be written to it on creation.
void VerifyNetExportLog() {
EXPECT_EQ(net_export_log_, net_log_temp_file_->log_path_);
- EXPECT_TRUE(file_util::PathExists(net_export_log_));
+ EXPECT_TRUE(base::PathExists(net_export_log_));
int64 file_size;
// file_util::GetFileSize returns proper file size on open handles.
@@ -142,7 +142,7 @@ class NetLogTempFileTest : public ::testing::Test {
base::FilePath net_export_file_path;
EXPECT_TRUE(net_log_temp_file_->GetFilePath(&net_export_file_path));
- EXPECT_TRUE(file_util::PathExists(net_export_file_path));
+ EXPECT_TRUE(base::PathExists(net_export_file_path));
EXPECT_EQ(net_export_log_, net_export_file_path);
VerifyNetExportLog();
@@ -187,11 +187,11 @@ TEST_F(NetLogTempFileTest, EnsureInitAllowStartOrSend) {
EXPECT_EQ(NetLogTempFile::STATE_ALLOW_START_SEND,
net_log_temp_file_->state());
EXPECT_EQ(net_export_log_, net_log_temp_file_->log_path_);
- EXPECT_TRUE(file_util::PathExists(net_export_log_));
+ EXPECT_TRUE(base::PathExists(net_export_log_));
base::FilePath net_export_file_path;
EXPECT_TRUE(net_log_temp_file_->GetFilePath(&net_export_file_path));
- EXPECT_TRUE(file_util::PathExists(net_export_file_path));
+ EXPECT_TRUE(base::PathExists(net_export_file_path));
EXPECT_EQ(net_export_log_, net_export_file_path);
// GetFilePath should return false if NetExportLogExists() fails.
« no previous file with comments | « chrome/browser/net/net_log_temp_file.cc ('k') | chrome/browser/net/sqlite_server_bound_cert_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698