| 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 #ifndef SYNC_TEST_NULL_TRANSACTION_OBSERVER_H_ | 5 #ifndef COMPONENTS_SYNC_TEST_NULL_TRANSACTION_OBSERVER_H_ |
| 6 #define SYNC_TEST_NULL_TRANSACTION_OBSERVER_H_ | 6 #define COMPONENTS_SYNC_TEST_NULL_TRANSACTION_OBSERVER_H_ |
| 7 | 7 |
| 8 #include "sync/internal_api/public/util/weak_handle.h" | 8 #include "components/sync/base/weak_handle.h" |
| 9 | 9 |
| 10 namespace syncer { | 10 namespace syncer { |
| 11 namespace syncable { | 11 namespace syncable { |
| 12 | 12 |
| 13 class TransactionObserver; | 13 class TransactionObserver; |
| 14 | 14 |
| 15 // Returns an initialized weak handle to a transaction observer that | 15 // Returns an initialized weak handle to a transaction observer that |
| 16 // does nothing. | 16 // does nothing. |
| 17 WeakHandle<TransactionObserver> NullTransactionObserver(); | 17 WeakHandle<TransactionObserver> NullTransactionObserver(); |
| 18 | 18 |
| 19 } // namespace syncable | 19 } // namespace syncable |
| 20 } // namespace syncer | 20 } // namespace syncer |
| 21 | 21 |
| 22 #endif // SYNC_TEST_NULL_TRANSACTION_OBSERVER_H_ | 22 #endif // COMPONENTS_SYNC_TEST_NULL_TRANSACTION_OBSERVER_H_ |
| OLD | NEW |