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 21 matching lines...) Expand all Loading... |
32 ignore_result(user_share_->directory.release()); | 32 ignore_result(user_share_->directory.release()); |
33 | 33 |
34 user_share_.reset(); | 34 user_share_.reset(); |
35 dir_maker_->TearDown(); | 35 dir_maker_->TearDown(); |
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() { |
| 43 return dir_maker_->encryption_handler(); |
| 44 } |
| 45 |
42 } // namespace syncer | 46 } // namespace syncer |
OLD | NEW |