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

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: cduvall, redirect fix 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..ab2248f504b41d5acd52d9b0878e51cd6563966c 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. this will usually depend on the configuration of
+ that 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