summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/syncable/syncable_mock.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sync/syncable/syncable_mock.cc')
-rw-r--r--chrome/browser/sync/syncable/syncable_mock.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/chrome/browser/sync/syncable/syncable_mock.cc b/chrome/browser/sync/syncable/syncable_mock.cc
new file mode 100644
index 0000000..83851cf
--- /dev/null
+++ b/chrome/browser/sync/syncable/syncable_mock.cc
@@ -0,0 +1,16 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/sync/syncable/syncable_mock.h"
+
+MockDirectory::MockDirectory() {
+ init_kernel("myk");
+}
+
+MockDirectory::~MockDirectory() {}
+
+MockSyncableWriteTransaction::MockSyncableWriteTransaction(
+ Directory *directory)
+ : WriteTransaction(directory, syncable::UNITTEST, "dontcare.cpp", 25) {
+}