Index: chrome/common/extensions/docs/server2/file_system.py |
diff --git a/chrome/common/extensions/docs/server2/file_system.py b/chrome/common/extensions/docs/server2/file_system.py |
index fd2cced2dd69114c05b1a9136cfa6e9841e51a40..da0bbcb051bccaa00eba0b32aa0ccb73775fb01d 100644 |
--- a/chrome/common/extensions/docs/server2/file_system.py |
+++ b/chrome/common/extensions/docs/server2/file_system.py |
@@ -63,8 +63,16 @@ class FileSystem(object): |
''' |
raise NotImplementedError() |
- def GetVersion(self): |
+ @classmethod |
+ def GetName(cls): |
+ '''The type of the file system, exposed for caching classes to namespace |
+ their caches. It is unlikely that this needs to be overridden. |
+ ''' |
+ return cls.__name__ |
+ |
+ @classmethod |
+ def GetVersion(cls): |
'''The version of the file system, exposed for caching classes backed to |
- file systems. This is unlikely to change. |
+ file systems. It is unlikely that this needs to be overridden. |
''' |
return None |