| 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/test_user_share.h" | 5 #include "sync/internal_api/public/test_user_share.h" |
| 6 | 6 |
| 7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
| 8 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
| 9 | 9 |
| 10 namespace browser_sync { | 10 namespace browser_sync { |
| 11 | 11 |
| 12 TestUserShare::TestUserShare() {} | 12 TestUserShare::TestUserShare() {} |
| 13 | 13 |
| 14 TestUserShare::~TestUserShare() { | 14 TestUserShare::~TestUserShare() { |
| 15 if (user_share_.get()) | 15 if (user_share_.get()) |
| (...skipping 15 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 user_share_.reset(); | 32 user_share_.reset(); |
| 33 dir_maker_.TearDown(); | 33 dir_maker_.TearDown(); |
| 34 } | 34 } |
| 35 | 35 |
| 36 sync_api::UserShare* TestUserShare::user_share() { | 36 sync_api::UserShare* TestUserShare::user_share() { |
| 37 return user_share_.get(); | 37 return user_share_.get(); |
| 38 } | 38 } |
| 39 | 39 |
| 40 } // namespace browser_sync | 40 } // namespace browser_sync |
| OLD | NEW |