OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/sync/syncable/syncable_mock.h" | 5 #include "chrome/browser/sync/syncable/syncable_mock.h" |
6 | 6 |
| 7 #include "base/tracked.h" |
| 8 |
7 MockDirectory::MockDirectory() { | 9 MockDirectory::MockDirectory() { |
8 init_kernel("myk"); | 10 InitKernel("myk", &delegate_); |
9 } | 11 } |
10 | 12 |
11 MockDirectory::~MockDirectory() {} | 13 MockDirectory::~MockDirectory() {} |
12 | 14 |
13 MockSyncableWriteTransaction::MockSyncableWriteTransaction( | 15 MockSyncableWriteTransaction::MockSyncableWriteTransaction( |
14 Directory *directory) | 16 Directory *directory) |
15 : WriteTransaction(directory, syncable::UNITTEST, "dontcare.cpp", 25) { | 17 : WriteTransaction(directory, syncable::UNITTEST, FROM_HERE) { |
16 } | 18 } |
OLD | NEW |