Index: chrome/common/extensions/docs/server2/compiled_file_system.py |
diff --git a/chrome/common/extensions/docs/server2/compiled_file_system.py b/chrome/common/extensions/docs/server2/compiled_file_system.py |
index 087eea8a08761efd4b172fc80181f7a45b8555d6..29b1363abaf3794a7e1e76733affcc372409ab07 100644 |
--- a/chrome/common/extensions/docs/server2/compiled_file_system.py |
+++ b/chrome/common/extensions/docs/server2/compiled_file_system.py |
@@ -26,12 +26,12 @@ class CompiledFileSystem(object): |
""" |
assert isinstance(cls, type) |
assert not cls.__name__[0].islower() # guard against non-class types |
- full_name = cls.__name__ |
+ full_name = [cls.__name__, self._file_system.GetIdentity()] |
if category is not None: |
- full_name = '%s/%s' % (full_name, category) |
- def create_object_store(category): |
+ full_name.append(category) |
+ def create_object_store(my_category): |
return self._object_store_creator.Create( |
- CompiledFileSystem, category='%s/%s' % (full_name, category)) |
+ CompiledFileSystem, category='/'.join(full_name + [my_category])) |
return CompiledFileSystem(self._file_system, |
populate_function, |
create_object_store('file'), |