| 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 "chrome/browser/sync/test/engine/test_user_share.h" | 5 #include "sync/internal_api/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 | 9 |
| 9 namespace browser_sync { | 10 namespace browser_sync { |
| 10 | 11 |
| 11 TestUserShare::TestUserShare() {} | 12 TestUserShare::TestUserShare() {} |
| 12 | 13 |
| 13 TestUserShare::~TestUserShare() { | 14 TestUserShare::~TestUserShare() { |
| 14 if (user_share_.get()) | 15 if (user_share_.get()) |
| 15 ADD_FAILURE() << "Should have called TestUserShare::TearDown()"; | 16 ADD_FAILURE() << "Should have called TestUserShare::TearDown()"; |
| 16 } | 17 } |
| 17 | 18 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 30 | 31 |
| 31 user_share_.reset(); | 32 user_share_.reset(); |
| 32 dir_maker_.TearDown(); | 33 dir_maker_.TearDown(); |
| 33 } | 34 } |
| 34 | 35 |
| 35 sync_api::UserShare* TestUserShare::user_share() { | 36 sync_api::UserShare* TestUserShare::user_share() { |
| 36 return user_share_.get(); | 37 return user_share_.get(); |
| 37 } | 38 } |
| 38 | 39 |
| 39 } // namespace browser_sync | 40 } // namespace browser_sync |
| OLD | NEW |