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

Unified Diff: chrome/common/extensions/docs/server2/example_zipper.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/example_zipper.py
diff --git a/chrome/common/extensions/docs/server2/example_zipper.py b/chrome/common/extensions/docs/server2/example_zipper.py
index d01962cb57d3f5d1faedb90c4c31ec6fc960a251..578c99dbd0a4ee914853480f180555a31522a34b 100644
--- a/chrome/common/extensions/docs/server2/example_zipper.py
+++ b/chrome/common/extensions/docs/server2/example_zipper.py
@@ -11,7 +11,8 @@ class ExampleZipper(object):
def __init__(self, compiled_fs_factory, file_system, base_path):
self._base_path = base_path.rstrip('/')
self._file_system = file_system
- self._zip_cache = compiled_fs_factory.Create(self._MakeZipFile,
+ self._zip_cache = compiled_fs_factory.Create(file_system,
+ self._MakeZipFile,
ExampleZipper)
def _MakeZipFile(self, base_dir, files):
« no previous file with comments | « chrome/common/extensions/docs/server2/cron_servlet.py ('k') | chrome/common/extensions/docs/server2/example_zipper_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698