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 | 8 |
9 namespace browser_sync { | 9 namespace browser_sync { |
10 | 10 |
11 TestUserShare::TestUserShare() {} | 11 TestUserShare::TestUserShare() {} |
12 | 12 |
13 TestUserShare::~TestUserShare() { | 13 TestUserShare::~TestUserShare() { |
14 if (user_share_.get()) | 14 if (user_share_.get()) |
15 ADD_FAILURE() << "Should have called TestUserShare::TearDown()"; | 15 ADD_FAILURE() << "Should have called TestUserShare::TearDown()"; |
(...skipping 14 matching lines...) Expand all Loading... |
30 | 30 |
31 user_share_.reset(); | 31 user_share_.reset(); |
32 dir_maker_.TearDown(); | 32 dir_maker_.TearDown(); |
33 } | 33 } |
34 | 34 |
35 sync_api::UserShare* TestUserShare::user_share() { | 35 sync_api::UserShare* TestUserShare::user_share() { |
36 return user_share_.get(); | 36 return user_share_.get(); |
37 } | 37 } |
38 | 38 |
39 } // namespace browser_sync | 39 } // namespace browser_sync |
OLD | NEW |