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

Unified Diff: chrome/common/extensions/docs/server2/api_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
« no previous file with comments | « no previous file | chrome/common/extensions/docs/server2/api_data_source_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/server2/api_data_source.py
diff --git a/chrome/common/extensions/docs/server2/api_data_source.py b/chrome/common/extensions/docs/server2/api_data_source.py
index 62e9e722abdecdaf74d649c8fa44bd46961c0e09..9c1486ed24e628925abe08e447c515b583615e92 100644
--- a/chrome/common/extensions/docs/server2/api_data_source.py
+++ b/chrome/common/extensions/docs/server2/api_data_source.py
@@ -553,11 +553,13 @@ class APIDataSource(object):
class Factory(object):
def __init__(self,
compiled_fs_factory,
+ file_system,
base_path,
availability_finder,
branch_utility):
def create_compiled_fs(fn, category):
- return compiled_fs_factory.Create(fn, APIDataSource, category=category)
+ return compiled_fs_factory.Create(
+ file_system, fn, APIDataSource, category=category)
self._json_cache = create_compiled_fs(
lambda api_name, api: self._LoadJsonAPI(api, False),
« no previous file with comments | « no previous file | chrome/common/extensions/docs/server2/api_data_source_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698