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

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

Issue 26538009: Docserver: make file_system a property of Create (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: niggles Created 7 years, 2 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/api_list_data_source.py
diff --git a/chrome/common/extensions/docs/server2/api_list_data_source.py b/chrome/common/extensions/docs/server2/api_list_data_source.py
index 57727b254a2bad8e3ea3d99c803d3c2202acaacd..c84a34b88c2b63fd12658f6dc58592f87cd2d39d 100644
--- a/chrome/common/extensions/docs/server2/api_list_data_source.py
+++ b/chrome/common/extensions/docs/server2/api_list_data_source.py
@@ -45,7 +45,8 @@ class APIListDataSource(object):
def NormalizePath(string):
return string if string.endswith('/') else (string + '/')
self._public_template_path = NormalizePath(public_template_path)
- self._cache = compiled_fs_factory.Create(self._CollectDocumentedAPIs,
+ self._cache = compiled_fs_factory.Create(file_system,
+ self._CollectDocumentedAPIs,
APIListDataSource)
self._features_bundle = features_bundle
self._object_store_creator = object_store_creator

Powered by Google App Engine
This is Rietveld 408576698