Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7039)

Unified Diff: chrome/common/extensions/docs/server2/handler.py

Issue 11315018: Extensions Docs Server: Generalize $ref's to work for any schema node (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed comments Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,

Powered by Google App Engine
This is Rietveld 408576698