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

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

Issue 15009006: Docserver: refactor Servlet, ObjectStore, and ServerInstance architecture to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix example zipper Created 7 years, 7 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/file_system.py
diff --git a/chrome/common/extensions/docs/server2/file_system.py b/chrome/common/extensions/docs/server2/file_system.py
index 0450a063271327a7ddacae833267cc56e4363581..ec0a08912edc11cdf611e271d230178e675987f1 100644
--- a/chrome/common/extensions/docs/server2/file_system.py
+++ b/chrome/common/extensions/docs/server2/file_system.py
@@ -66,9 +66,11 @@ class FileSystem(object):
'''
raise NotImplementedError()
- @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.
+ def GetIdentity(self):
+ '''The identity of the file system, exposed for caching classes to
+ namespace their caches. The will usually depend on the configuration of that
cduvall 2013/05/08 03:09:14 The -> This
not at google - send to devlin 2013/05/08 18:26:19 Done.
+ file system - e.g. a LocalFileSystem with a base path of /var is different
+ to that of a SubversionFileSystem with a base path of /bar, is different to
+ a LocalFileSystem with a base path of /usr.
'''
- return cls.__name__
+ raise NotImplementedError()

Powered by Google App Engine
This is Rietveld 408576698