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

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

Issue 10835012: Extension Docs Server: Include a list of samples used in the api reference page. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 months 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 ee8b3bb2b507b1a474f0d980b836d52bdd0be981..479d724c1df01032b5c504f20e9ea2a24dc6bc92 100644
--- a/chrome/common/extensions/docs/server2/handler.py
+++ b/chrome/common/extensions/docs/server2/handler.py
@@ -68,7 +68,7 @@ def _GetInstanceForBranch(branch, local_path):
AppEngineMemcache(branch))
cache_builder = FileSystemCache.Builder(file_system)
- api_data_source = APIDataSource(cache_builder, API_PATH)
+ api_data_source_factory = APIDataSource.Factory(cache_builder, API_PATH)
api_list_data_source = APIListDataSource(cache_builder,
file_system,
API_PATH,
@@ -81,7 +81,7 @@ def _GetInstanceForBranch(branch, local_path):
EXAMPLES_PATH)
template_data_source_factory = TemplateDataSource.Factory(
branch,
- api_data_source,
+ api_data_source_factory,
api_list_data_source,
intro_data_source,
samples_data_source_factory,

Powered by Google App Engine
This is Rietveld 408576698