OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_SYNC_TEST_NULL_TRANSACTION_OBSERVER_H_ | |
6 #define CHROME_BROWSER_SYNC_TEST_NULL_TRANSACTION_OBSERVER_H_ | |
7 #pragma once | |
8 | |
9 #include "chrome/browser/sync/util/weak_handle.h" | |
10 | |
11 namespace syncable { | |
12 | |
13 class TransactionObserver; | |
14 | |
15 // Returns an initialized weak handle to a transaction observer that | |
16 // does nothing. | |
17 browser_sync::WeakHandle<TransactionObserver> NullTransactionObserver(); | |
18 | |
19 } // namespace syncable | |
20 | |
21 #endif // CHROME_BROWSER_SYNC_TEST_NULL_TRANSACTION_OBSERVER_H_ | |
OLD | NEW |