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