| 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/internal_api/public/test/test_user_share.h" | 5 #include "sync/internal_api/public/test/test_user_share.h" |
| 6 | 6 |
| 7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
| 8 #include "sync/syncable/directory.h" | 8 #include "sync/syncable/directory.h" |
| 9 #include "sync/test/engine/test_directory_setter_upper.h" | 9 #include "sync/test/engine/test_directory_setter_upper.h" |
| 10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 } | 36 } |
| 37 | 37 |
| 38 UserShare* TestUserShare::user_share() { | 38 UserShare* TestUserShare::user_share() { |
| 39 return user_share_.get(); | 39 return user_share_.get(); |
| 40 } | 40 } |
| 41 | 41 |
| 42 SyncEncryptionHandler* TestUserShare::encryption_handler() { | 42 SyncEncryptionHandler* TestUserShare::encryption_handler() { |
| 43 return dir_maker_->encryption_handler(); | 43 return dir_maker_->encryption_handler(); |
| 44 } | 44 } |
| 45 | 45 |
| 46 syncable::MockTransactionObserver* TestUserShare::transaction_observer() { |
| 47 return dir_maker_->transaction_observer(); |
| 48 } |
| 49 |
| 46 } // namespace syncer | 50 } // namespace syncer |
| OLD | NEW |