Index: content/browser/fileapi/sandbox_origin_database_unittest.cc |
diff --git a/content/browser/fileapi/sandbox_origin_database_unittest.cc b/content/browser/fileapi/sandbox_origin_database_unittest.cc |
index 79ebb28106b77107d3ffcff60ce97d304942f45d..8c92e4f7430946aba5aa81a4d246ad0c5a1b01e1 100644 |
--- a/content/browser/fileapi/sandbox_origin_database_unittest.cc |
+++ b/content/browser/fileapi/sandbox_origin_database_unittest.cc |
@@ -38,7 +38,7 @@ const base::FilePath::CharType kOriginDatabaseName[] = |
TEST(SandboxOriginDatabaseTest, BasicTest) { |
base::ScopedTempDir dir; |
ASSERT_TRUE(dir.CreateUniqueTempDir()); |
- const base::FilePath kFSDir = dir.path().Append(kFileSystemDirName); |
+ const base::FilePath kFSDir = dir.GetPath().Append(kFileSystemDirName); |
EXPECT_FALSE(base::PathExists(kFSDir)); |
EXPECT_TRUE(base::CreateDirectory(kFSDir)); |
@@ -68,7 +68,7 @@ TEST(SandboxOriginDatabaseTest, BasicTest) { |
TEST(SandboxOriginDatabaseTest, TwoPathTest) { |
base::ScopedTempDir dir; |
ASSERT_TRUE(dir.CreateUniqueTempDir()); |
- const base::FilePath kFSDir = dir.path().Append(kFileSystemDirName); |
+ const base::FilePath kFSDir = dir.GetPath().Append(kFileSystemDirName); |
EXPECT_FALSE(base::PathExists(kFSDir)); |
EXPECT_TRUE(base::CreateDirectory(kFSDir)); |
@@ -96,7 +96,7 @@ TEST(SandboxOriginDatabaseTest, TwoPathTest) { |
TEST(SandboxOriginDatabaseTest, DropDatabaseTest) { |
base::ScopedTempDir dir; |
ASSERT_TRUE(dir.CreateUniqueTempDir()); |
- const base::FilePath kFSDir = dir.path().Append(kFileSystemDirName); |
+ const base::FilePath kFSDir = dir.GetPath().Append(kFileSystemDirName); |
EXPECT_FALSE(base::PathExists(kFSDir)); |
EXPECT_TRUE(base::CreateDirectory(kFSDir)); |
@@ -124,7 +124,7 @@ TEST(SandboxOriginDatabaseTest, DropDatabaseTest) { |
TEST(SandboxOriginDatabaseTest, DeleteOriginTest) { |
base::ScopedTempDir dir; |
ASSERT_TRUE(dir.CreateUniqueTempDir()); |
- const base::FilePath kFSDir = dir.path().Append(kFileSystemDirName); |
+ const base::FilePath kFSDir = dir.GetPath().Append(kFileSystemDirName); |
EXPECT_FALSE(base::PathExists(kFSDir)); |
EXPECT_TRUE(base::CreateDirectory(kFSDir)); |
@@ -151,7 +151,7 @@ TEST(SandboxOriginDatabaseTest, DeleteOriginTest) { |
TEST(SandboxOriginDatabaseTest, ListOriginsTest) { |
base::ScopedTempDir dir; |
ASSERT_TRUE(dir.CreateUniqueTempDir()); |
- const base::FilePath kFSDir = dir.path().Append(kFileSystemDirName); |
+ const base::FilePath kFSDir = dir.GetPath().Append(kFileSystemDirName); |
EXPECT_FALSE(base::PathExists(kFSDir)); |
EXPECT_TRUE(base::CreateDirectory(kFSDir)); |
@@ -200,7 +200,7 @@ TEST(SandboxOriginDatabaseTest, DatabaseRecoveryTest) { |
base::ScopedTempDir dir; |
ASSERT_TRUE(dir.CreateUniqueTempDir()); |
- const base::FilePath kFSDir = dir.path().Append(kFileSystemDirName); |
+ const base::FilePath kFSDir = dir.GetPath().Append(kFileSystemDirName); |
const base::FilePath kDBDir = kFSDir.Append(kOriginDatabaseName); |
EXPECT_FALSE(base::PathExists(kFSDir)); |
EXPECT_TRUE(base::CreateDirectory(kFSDir)); |
@@ -275,7 +275,7 @@ TEST(SandboxOriginDatabaseTest, DatabaseRecoveryForMissingDBFileTest) { |
for (size_t i = 0; i < arraysize(kLevelDBFileTypes); ++i) { |
base::ScopedTempDir dir; |
ASSERT_TRUE(dir.CreateUniqueTempDir()); |
- const base::FilePath kFSDir = dir.path().Append(kFileSystemDirName); |
+ const base::FilePath kFSDir = dir.GetPath().Append(kFileSystemDirName); |
const base::FilePath kDBDir = kFSDir.Append(kOriginDatabaseName); |
EXPECT_FALSE(base::PathExists(kFSDir)); |
EXPECT_TRUE(base::CreateDirectory(kFSDir)); |