| 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/location.h" | 7 #include "base/location.h" |
| 8 #include "chrome/browser/sync/test/null_transaction_observer.h" |
| 8 | 9 |
| 9 MockDirectory::MockDirectory() { | 10 MockDirectory::MockDirectory() { |
| 10 InitKernel("myk", &delegate_); | 11 InitKernelForTest("myk", &delegate_, syncable::NullTransactionObserver()); |
| 11 } | 12 } |
| 12 | 13 |
| 13 MockDirectory::~MockDirectory() {} | 14 MockDirectory::~MockDirectory() {} |
| 14 | 15 |
| 15 MockSyncableWriteTransaction::MockSyncableWriteTransaction( | 16 MockSyncableWriteTransaction::MockSyncableWriteTransaction( |
| 16 const tracked_objects::Location& from_here, Directory *directory) | 17 const tracked_objects::Location& from_here, Directory *directory) |
| 17 : WriteTransaction(from_here, syncable::UNITTEST, directory) { | 18 : WriteTransaction(from_here, syncable::UNITTEST, directory) { |
| 18 } | 19 } |
| OLD | NEW |