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

Unified Diff: chrome/common/extensions/docs/server2/echo_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: fixed the tests 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 c94c412157fc3a3b8c14442d315128e02824476d..d57d839a5923715e8dcac09b5dc51b029cefa6bd 100755
--- a/chrome/common/extensions/docs/server2/echo_handler.py
+++ b/chrome/common/extensions/docs/server2/echo_handler.py
@@ -78,7 +78,7 @@ class Handler(webapp.RequestHandler):
AppEngineMemcache(branch, memcache))
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,
@@ -91,7 +91,7 @@ class Handler(webapp.RequestHandler):
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