Chromium Code Reviews| Index: chrome/common/extensions/docs/server2/handler.py |
| diff --git a/chrome/common/extensions/docs/server2/handler.py b/chrome/common/extensions/docs/server2/handler.py |
| index a4319acfa701f4a4ccc559fbbe6d53091bd257d7..41434a4038f6b6b228a1f2bfbe16ac0e580c8417 100644 |
| --- a/chrome/common/extensions/docs/server2/handler.py |
| +++ b/chrome/common/extensions/docs/server2/handler.py |
| @@ -131,17 +131,19 @@ def _GetInstanceForBranch(channel_name, local_path): |
| intro_data_source_factory = IntroDataSource.Factory( |
| cache_factory, |
| [INTRO_PATH, ARTICLE_PATH]) |
| + api_data_source_factory = APIDataSource.Factory( |
| + cache_factory, |
| + API_PATH, |
| + api_list_data_source_factory.Create()) |
|
not at google - send to devlin
2012/11/02 17:26:48
Looks suspicious. Why isn't APIDataSource.Factory
cduvall
2012/11/03 01:30:05
Done.
|
| samples_data_source_factory = SamplesDataSource.Factory( |
| channel_name, |
| file_system, |
| GITHUB_FILE_SYSTEM, |
| cache_factory, |
| GITHUB_COMPILED_FILE_SYSTEM, |
| + api_data_source_factory, |
| api_list_data_source_factory, |
| EXAMPLES_PATH) |
| - api_data_source_factory = APIDataSource.Factory(cache_factory, |
| - API_PATH, |
| - samples_data_source_factory) |
| template_data_source_factory = TemplateDataSource.Factory( |
| channel_name, |
| api_data_source_factory, |