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

Unified Diff: chrome/browser/extensions/sandboxed_unpacker_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/extensions/platform_app_launcher.cc ('k') | chrome/browser/extensions/test_extension_dir.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/sandboxed_unpacker_unittest.cc
diff --git a/chrome/browser/extensions/sandboxed_unpacker_unittest.cc b/chrome/browser/extensions/sandboxed_unpacker_unittest.cc
index 18f52c28095ea6412a090c4b2f90ed07d74cec4b..60d850a688582b5a8c39531466938a24a7992b9d 100644
--- a/chrome/browser/extensions/sandboxed_unpacker_unittest.cc
+++ b/chrome/browser/extensions/sandboxed_unpacker_unittest.cc
@@ -82,7 +82,7 @@ class SandboxedUnpackerTest : public testing::Test {
original_path = original_path.AppendASCII("extensions")
.AppendASCII("unpacker")
.AppendASCII(crx_name);
- ASSERT_TRUE(file_util::PathExists(original_path)) << original_path.value();
+ ASSERT_TRUE(base::PathExists(original_path)) << original_path.value();
// Try bots won't let us write into DIR_TEST_DATA, so we have to write the
// CRX to the temp directory, and create a subdirectory into which to
@@ -177,12 +177,12 @@ TEST_F(SandboxedUnpackerTest, NoCatalogsSuccess) {
// Check that there is no _locales folder.
base::FilePath install_path =
GetInstallPath().Append(kLocaleFolder);
- EXPECT_FALSE(file_util::PathExists(install_path));
+ EXPECT_FALSE(base::PathExists(install_path));
OnUnpackSucceeded();
// Check that there still is no _locales folder.
- EXPECT_FALSE(file_util::PathExists(install_path));
+ EXPECT_FALSE(base::PathExists(install_path));
ASSERT_TRUE(TempFilesRemoved());
}
« no previous file with comments | « chrome/browser/extensions/platform_app_launcher.cc ('k') | chrome/browser/extensions/test_extension_dir.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698