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

Unified Diff: chrome/common/mac/app_mode_chrome_locator_unittest.mm

Issue 19052005: Move PathIsWritable, DirectoryExists, ContentsEqual, and TextContentsEqual to the 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/common/mac/app_mode_chrome_locator_unittest.mm
diff --git a/chrome/common/mac/app_mode_chrome_locator_unittest.mm b/chrome/common/mac/app_mode_chrome_locator_unittest.mm
index f3c7e4d1b5ca671a215361a052ba9b1fdf0764be..950da7ed29830e3f3aa507c51e7740a16e6e965f 100644
--- a/chrome/common/mac/app_mode_chrome_locator_unittest.mm
+++ b/chrome/common/mac/app_mode_chrome_locator_unittest.mm
@@ -31,7 +31,7 @@ TEST(ChromeLocatorTest, FindBundle) {
base::FilePath finder_bundle_path;
EXPECT_TRUE(
app_mode::FindBundleById(@"com.apple.finder", &finder_bundle_path));
- EXPECT_TRUE(file_util::DirectoryExists(finder_bundle_path));
+ EXPECT_TRUE(base::DirectoryExists(finder_bundle_path));
}
TEST(ChromeLocatorTest, FindNonExistentBundle) {
@@ -55,7 +55,7 @@ TEST(ChromeLocatorTest, GetChromeBundleInfo) {
base::FilePath chrome_bundle_path;
GetChromeBundlePath(&chrome_bundle_path);
- ASSERT_TRUE(file_util::DirectoryExists(chrome_bundle_path));
+ ASSERT_TRUE(base::DirectoryExists(chrome_bundle_path));
string16 raw_version;
base::FilePath version_path;
@@ -63,6 +63,6 @@ TEST(ChromeLocatorTest, GetChromeBundleInfo) {
EXPECT_TRUE(GetChromeBundleInfo(chrome_bundle_path,
&raw_version, &version_path, &framework_path));
EXPECT_GT(raw_version.size(), 0U);
- EXPECT_TRUE(file_util::DirectoryExists(version_path));
+ EXPECT_TRUE(base::DirectoryExists(version_path));
EXPECT_TRUE(base::PathExists(framework_path));
}
« no previous file with comments | « chrome/common/extensions/extension_file_util_unittest.cc ('k') | chrome/installer/setup/setup_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698