summaryrefslogtreecommitdiffstats
path: root/sync/test/null_transaction_observer.cc
blob: 790243345760dfe3197174655ae457190dc22ec5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (c) 2012 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 "sync/test/null_transaction_observer.h"

#include "base/memory/weak_ptr.h"

namespace syncable {

browser_sync::WeakHandle<TransactionObserver> NullTransactionObserver() {
  return browser_sync::MakeWeakHandle(base::WeakPtr<TransactionObserver>());
}

}  // namespace syncable