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

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

Issue 26538009: Docserver: make file_system a property of Create (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: jeffrey 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/caching_file_system.py
diff --git a/chrome/common/extensions/docs/server2/caching_file_system.py b/chrome/common/extensions/docs/server2/caching_file_system.py
index 3d88e5ac8206cdb93fbeae6150013e9dcc65494d..e042aedbbdbee9528336f9d88dd0cc7e55da82d1 100644
--- a/chrome/common/extensions/docs/server2/caching_file_system.py
+++ b/chrome/common/extensions/docs/server2/caching_file_system.py
@@ -123,5 +123,12 @@ class CachingFileSystem(FileSystem):
self,
read_object_store))
+ def GetDebugString(self):
+ return ' of %s' % self._file_system
Jeffrey Yasskin 2013/10/14 21:24:17 Did you mean to remove GetDebugString() now that n
not at google - send to devlin 2013/10/14 21:26:28 yes, thanks. Done.
+
def GetIdentity(self):
return self._file_system.GetIdentity()
+
+ def __repr__(self):
+ return '<%s of %s>' % (type(self).__name__,
+ type(self._file_system).__name__)

Powered by Google App Engine
This is Rietveld 408576698