OLD | NEW |
1 // Copyright (c) 2011 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 "chrome/browser/sync/test/null_transaction_observer.h" | 5 #include "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 syncable { | 9 namespace syncable { |
10 | 10 |
11 browser_sync::WeakHandle<TransactionObserver> NullTransactionObserver() { | 11 browser_sync::WeakHandle<TransactionObserver> NullTransactionObserver() { |
12 return browser_sync::MakeWeakHandle(base::WeakPtr<TransactionObserver>()); | 12 return browser_sync::MakeWeakHandle(base::WeakPtr<TransactionObserver>()); |
13 } | 13 } |
14 | 14 |
15 } // namespace syncable | 15 } // namespace syncable |
OLD | NEW |