#include "sync/syncable/syncable_mock.h"
#include "base/location.h"
#include "sync/syncable/in_memory_directory_backing_store.h"
#include "sync/test/null_transaction_observer.h"
namespace syncer {
namespace syncable {
MockDirectory::MockDirectory(UnrecoverableErrorHandler* handler)
: Directory(new syncable::InMemoryDirectoryBackingStore("store"),
handler,
NULL,
NULL,
NULL) {
InitKernelForTest("myk", &delegate_, syncable::NullTransactionObserver());
}
MockDirectory::~MockDirectory() {}
MockSyncableWriteTransaction::MockSyncableWriteTransaction(
const tracked_objects::Location& from_here, Directory *directory)
: WriteTransaction(from_here, syncable::UNITTEST, directory) {
}
}
}