summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/syncable/syncable_mock.cc
blob: da5e891e69900a29ec0c5da63104d4cbe3949c5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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"

#include "base/tracked.h"

MockDirectory::MockDirectory() {
  InitKernel("myk", &delegate_);
}

MockDirectory::~MockDirectory() {}

MockSyncableWriteTransaction::MockSyncableWriteTransaction(
    const tracked_objects::Location& from_here, Directory *directory)
    : WriteTransaction(from_here, syncable::UNITTEST, directory) {
}