| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/test/sync/engine/test_user_share.h" | 5 #include "chrome/browser/sync/test/engine/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 CHECK(!user_share_.dir_manager.get()); | 14 CHECK(!user_share_.dir_manager.get()); |
| 15 } | 15 } |
| (...skipping 10 matching lines...) Expand all Loading... |
| 26 // Make sure we don't free the manager twice. | 26 // Make sure we don't free the manager twice. |
| 27 ignore_result(user_share_.dir_manager.release()); | 27 ignore_result(user_share_.dir_manager.release()); |
| 28 setter_upper_.TearDown(); | 28 setter_upper_.TearDown(); |
| 29 } | 29 } |
| 30 | 30 |
| 31 sync_api::UserShare* TestUserShare::user_share() { | 31 sync_api::UserShare* TestUserShare::user_share() { |
| 32 return &user_share_; | 32 return &user_share_; |
| 33 } | 33 } |
| 34 | 34 |
| 35 } // namespace browser_sync | 35 } // namespace browser_sync |
| OLD | NEW |