Index: chrome/browser/sync/syncable/syncable_mock.cc |
diff --git a/chrome/browser/sync/syncable/syncable_mock.cc b/chrome/browser/sync/syncable/syncable_mock.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..83851cf915abee345a4208ebcf32194714b47093 |
--- /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) { |
+} |