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_directory_setter_upper.h" | 5 #include "chrome/test/sync/engine/test_directory_setter_upper.h" |
6 | 6 |
7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
9 #include "base/string_util.h" | 9 #include "base/string_util.h" |
10 #include "base/tracked.h" | 10 #include "base/tracked.h" |
11 #include "chrome/browser/sync/syncable/directory_manager.h" | 11 #include "chrome/browser/sync/syncable/directory_manager.h" |
12 #include "chrome/browser/sync/syncable/syncable.h" | 12 #include "chrome/browser/sync/syncable/syncable.h" |
13 #include "chrome/common/deprecated/event_sys-inl.h" | |
14 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
15 | 14 |
16 using syncable::DirectoryManager; | 15 using syncable::DirectoryManager; |
17 using syncable::ReadTransaction; | 16 using syncable::ReadTransaction; |
18 using syncable::ScopedDirLookup; | 17 using syncable::ScopedDirLookup; |
19 | 18 |
20 namespace browser_sync { | 19 namespace browser_sync { |
21 | 20 |
22 TestDirectorySetterUpper::TestDirectorySetterUpper() : name_("Test") {} | 21 TestDirectorySetterUpper::TestDirectorySetterUpper() : name_("Test") {} |
23 TestDirectorySetterUpper::TestDirectorySetterUpper(const std::string& name) | 22 TestDirectorySetterUpper::TestDirectorySetterUpper(const std::string& name) |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 | 130 |
132 void MockDirectorySetterUpper::SetUp() { | 131 void MockDirectorySetterUpper::SetUp() { |
133 reset_directory_manager(new Manager(FilePath(), directory_.get())); | 132 reset_directory_manager(new Manager(FilePath(), directory_.get())); |
134 } | 133 } |
135 | 134 |
136 void MockDirectorySetterUpper::TearDown() { | 135 void MockDirectorySetterUpper::TearDown() { |
137 // Nothing to do here. | 136 // Nothing to do here. |
138 } | 137 } |
139 | 138 |
140 } // namespace browser_sync | 139 } // namespace browser_sync |
OLD | NEW |