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

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

Issue 10830115: Injection stuff. (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 479d724c1df01032b5c504f20e9ea2a24dc6bc92..92e7c77e7c7c399ce7b59ccba2ababe006d84b6d 100644
--- a/chrome/common/extensions/docs/server2/handler.py
+++ b/chrome/common/extensions/docs/server2/handler.py
@@ -68,7 +68,6 @@ def _GetInstanceForBranch(branch, local_path):
AppEngineMemcache(branch))
cache_builder = FileSystemCache.Builder(file_system)
- api_data_source_factory = APIDataSource.Factory(cache_builder, API_PATH)
api_list_data_source = APIListDataSource(cache_builder,
file_system,
API_PATH,
@@ -79,6 +78,9 @@ def _GetInstanceForBranch(branch, local_path):
file_system,
cache_builder,
EXAMPLES_PATH)
+ api_data_source_factory = APIDataSource.Factory(cache_builder,
+ API_PATH,
+ samples_data_source_factory)
template_data_source_factory = TemplateDataSource.Factory(
branch,
api_data_source_factory,

Powered by Google App Engine
This is Rietveld 408576698