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

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

Issue 10815042: Extensions Docs Server: api_index.html, experimental.html (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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/echo_handler.py
diff --git a/chrome/common/extensions/docs/server2/echo_handler.py b/chrome/common/extensions/docs/server2/echo_handler.py
index fbb9e38e95ea3bac20d1a76cea50f66bea1c0530..26ef9ba70d90c238cc66828364c141b50e2e9082 100755
--- a/chrome/common/extensions/docs/server2/echo_handler.py
+++ b/chrome/common/extensions/docs/server2/echo_handler.py
@@ -18,6 +18,7 @@ from google.appengine.api import memcache
from google.appengine.ext.webapp.util import run_wsgi_app
from api_data_source import APIDataSource
+from api_list_data_source import APIListDataSource
from appengine_memcache import AppEngineMemcache
from branch_utility import BranchUtility
from example_zipper import ExampleZipper
@@ -78,6 +79,10 @@ class Handler(webapp.RequestHandler):
cache_builder = FileSystemCache.Builder(file_system)
api_data_source = APIDataSource(cache_builder, API_PATH)
+ api_list_data_source = APIListDataSource(cache_builder,
+ file_system,
+ API_PATH,
+ PUBLIC_TEMPLATE_PATH)
intro_data_source = IntroDataSource(cache_builder,
[INTRO_PATH, ARTICLE_PATH])
samples_data_source = SamplesDataSource(file_system,
@@ -86,6 +91,7 @@ class Handler(webapp.RequestHandler):
template_data_source_factory = TemplateDataSource.Factory(
branch,
api_data_source,
+ api_list_data_source,
intro_data_source,
samples_data_source,
cache_builder,

Powered by Google App Engine
This is Rietveld 408576698