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

Unified Diff: chrome/common/extensions/docs/server2/features_bundle.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/features_bundle.py
diff --git a/chrome/common/extensions/docs/server2/features_bundle.py b/chrome/common/extensions/docs/server2/features_bundle.py
index 34add43852ae39c02cd3d17952ffa5a07b6909de..d11d5ac7ccbd8c5e79bbf8de9124954073346805 100644
--- a/chrome/common/extensions/docs/server2/features_bundle.py
+++ b/chrome/common/extensions/docs/server2/features_bundle.py
@@ -32,7 +32,8 @@ def _AddPlatformsFromDependencies(feature, features_bundle):
class _FeaturesCache(object):
def __init__(self, file_system, compiled_fs_factory, *json_paths):
self._file_system = file_system
- self._cache = compiled_fs_factory.Create(self._CreateCache, type(self))
+ self._cache = compiled_fs_factory.Create(
+ file_system, self._CreateCache, type(self))
self._json_path = json_paths[0]
self._extra_paths = json_paths[1:]
« no previous file with comments | « chrome/common/extensions/docs/server2/example_zipper_test.py ('k') | chrome/common/extensions/docs/server2/file_system.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698