| 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 from api_data_source import APIDataSource | 5 from api_data_source import APIDataSource |
| 6 from api_list_data_source import APIListDataSource | 6 from api_list_data_source import APIListDataSource |
| 7 from api_models import APIModels | 7 from api_models import APIModels |
| 8 from availability_finder import AvailabilityFinder | 8 from availability_finder import AvailabilityFinder |
| 9 from compiled_file_system import CompiledFileSystem | 9 from compiled_file_system import CompiledFileSystem |
| 10 from directory_zipper import DirectoryZipper | 10 from directory_zipper import DirectoryZipper |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 self.availability_finder = AvailabilityFinder( | 82 self.availability_finder = AvailabilityFinder( |
| 83 branch_utility, | 83 branch_utility, |
| 84 compiled_fs_factory, | 84 compiled_fs_factory, |
| 85 self.host_file_system_iterator, | 85 self.host_file_system_iterator, |
| 86 host_fs_at_trunk, | 86 host_fs_at_trunk, |
| 87 object_store_creator) | 87 object_store_creator) |
| 88 | 88 |
| 89 self.api_list_data_source_factory = APIListDataSource.Factory( | 89 self.api_list_data_source_factory = APIListDataSource.Factory( |
| 90 self.compiled_fs_factory, | 90 self.compiled_fs_factory, |
| 91 host_fs_at_trunk, | 91 host_fs_at_trunk, |
| 92 svn_constants.PUBLIC_TEMPLATE_PATH, | |
| 93 self.features_bundle, | 92 self.features_bundle, |
| 94 self.object_store_creator) | 93 self.object_store_creator) |
| 95 | 94 |
| 96 self.api_data_source_factory = APIDataSource.Factory( | 95 self.api_data_source_factory = APIDataSource.Factory( |
| 97 self.compiled_fs_factory, | 96 self.compiled_fs_factory, |
| 98 host_fs_at_trunk, | 97 host_fs_at_trunk, |
| 99 svn_constants.API_PATH, | 98 svn_constants.API_PATH, |
| 100 self.availability_finder, | 99 self.availability_finder, |
| 101 branch_utility) | 100 branch_utility) |
| 102 | 101 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 object_store_creator = ObjectStoreCreator(start_empty=False, | 171 object_store_creator = ObjectStoreCreator(start_empty=False, |
| 173 store_type=TestObjectStore) | 172 store_type=TestObjectStore) |
| 174 host_file_system_provider = HostFileSystemProvider.ForLocal( | 173 host_file_system_provider = HostFileSystemProvider.ForLocal( |
| 175 object_store_creator) | 174 object_store_creator) |
| 176 return ServerInstance( | 175 return ServerInstance( |
| 177 object_store_creator, | 176 object_store_creator, |
| 178 CompiledFileSystem.Factory(object_store_creator), | 177 CompiledFileSystem.Factory(object_store_creator), |
| 179 TestBranchUtility.CreateWithCannedData(), | 178 TestBranchUtility.CreateWithCannedData(), |
| 180 host_file_system_provider, | 179 host_file_system_provider, |
| 181 GithubFileSystemProvider.ForEmpty()) | 180 GithubFileSystemProvider.ForEmpty()) |
| OLD | NEW |