OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "sync/test/null_transaction_observer.h" | 5 #include "components/sync/test/null_transaction_observer.h" |
6 | 6 |
7 #include "base/memory/weak_ptr.h" | 7 #include "base/memory/weak_ptr.h" |
8 | 8 |
9 namespace syncer { | 9 namespace syncer { |
10 namespace syncable { | 10 namespace syncable { |
11 | 11 |
12 WeakHandle<TransactionObserver> NullTransactionObserver() { | 12 WeakHandle<TransactionObserver> NullTransactionObserver() { |
13 return MakeWeakHandle(base::WeakPtr<TransactionObserver>()); | 13 return MakeWeakHandle(base::WeakPtr<TransactionObserver>()); |
14 } | 14 } |
15 | 15 |
16 } // namespace syncable | 16 } // namespace syncable |
17 } // namespace syncer | 17 } // namespace syncer |
OLD | NEW |