summaryrefslogtreecommitdiffstats
path: root/sync/test/null_transaction_observer.cc
blob: abd99b0154ba7b8f0f445961e88edb3eb50a307d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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 syncer {
namespace syncable {

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

}  // namespace syncable
}  // namespace syncer