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

Unified Diff: sync/syncable/syncable_unittest.cc

Issue 12217101: Replace FilePath with base::FilePath in some more top level directories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | « sync/syncable/on_disk_directory_backing_store.cc ('k') | sync/test/local_sync_test_server.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/syncable/syncable_unittest.cc
diff --git a/sync/syncable/syncable_unittest.cc b/sync/syncable/syncable_unittest.cc
index 8031fc0e16bfafa5b9dba11099b0f54119ea86f0..b1629344d4893257baa0f739ade2a9d3bf638eb9 100644
--- a/sync/syncable/syncable_unittest.cc
+++ b/sync/syncable/syncable_unittest.cc
@@ -103,7 +103,7 @@ class SyncableGeneralTest : public testing::Test {
NullDirectoryChangeDelegate delegate_;
FakeEncryptor encryptor_;
TestUnrecoverableErrorHandler handler_;
- FilePath db_path_;
+ base::FilePath db_path_;
};
const char SyncableGeneralTest::kIndexTestName[] = "IndexTest";
@@ -1533,7 +1533,7 @@ TEST_F(SyncableDirectoryTest, OrdinalWithNullSurvivesSaveAndReload) {
class TestBackingStore : public OnDiskDirectoryBackingStore {
public:
TestBackingStore(const std::string& dir_name,
- const FilePath& backing_filepath);
+ const base::FilePath& backing_filepath);
virtual ~TestBackingStore();
@@ -1549,7 +1549,7 @@ class TestBackingStore : public OnDiskDirectoryBackingStore {
};
TestBackingStore::TestBackingStore(const std::string& dir_name,
- const FilePath& backing_filepath)
+ const base::FilePath& backing_filepath)
: OnDiskDirectoryBackingStore(dir_name, backing_filepath),
fail_save_changes_(false) {
}
@@ -1573,7 +1573,7 @@ class TestDirectory : public Directory {
Encryptor *encryptor,
UnrecoverableErrorHandler *handler,
const std::string& dir_name,
- const FilePath& backing_filepath);
+ const base::FilePath& backing_filepath);
virtual ~TestDirectory();
@@ -1593,7 +1593,7 @@ TestDirectory* TestDirectory::Create(
Encryptor *encryptor,
UnrecoverableErrorHandler *handler,
const std::string& dir_name,
- const FilePath& backing_filepath) {
+ const base::FilePath& backing_filepath) {
TestBackingStore* backing_store =
new TestBackingStore(dir_name, backing_filepath);
return new TestDirectory(encryptor, handler, backing_store);
@@ -1613,7 +1613,7 @@ TEST(OnDiskSyncableDirectory, FailInitialWrite) {
TestUnrecoverableErrorHandler handler;
base::ScopedTempDir temp_dir;
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
- FilePath file_path = temp_dir.path().Append(
+ base::FilePath file_path = temp_dir.path().Append(
FILE_PATH_LITERAL("Test.sqlite3"));
std::string name = "user@x.com";
NullDirectoryChangeDelegate delegate;
@@ -1668,7 +1668,7 @@ class OnDiskSyncableDirectoryTest : public SyncableDirectoryTest {
TestDirectory *test_directory_; // mirrors scoped_ptr<Directory> dir_
base::ScopedTempDir temp_dir_;
- FilePath file_path_;
+ base::FilePath file_path_;
};
TEST_F(OnDiskSyncableDirectoryTest, TestPurgeEntriesWithTypeIn) {
@@ -2077,7 +2077,7 @@ class SyncableDirectoryManagement : public testing::Test {
};
TEST_F(SyncableDirectoryManagement, TestFileRelease) {
- FilePath path = temp_dir_.path().Append(
+ base::FilePath path = temp_dir_.path().Append(
Directory::kSyncDatabaseFilename);
syncable::Directory dir(new OnDiskDirectoryBackingStore("ScopeTest", path),
« no previous file with comments | « sync/syncable/on_disk_directory_backing_store.cc ('k') | sync/test/local_sync_test_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698