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

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

Issue 1151283007: Docserver overhaul: Gitiles away from me. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove inform_users template to fix presubmit failure (it's now a redirect) Created 5 years, 6 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/object_store_creator.py
diff --git a/chrome/common/extensions/docs/server2/object_store_creator.py b/chrome/common/extensions/docs/server2/object_store_creator.py
index 554912f39a9944e892fcbcefcaf1e15d18883f2c..91bc034eaa0e4061b9deb15b9b4cae9f7d8bcc80 100644
--- a/chrome/common/extensions/docs/server2/object_store_creator.py
+++ b/chrome/common/extensions/docs/server2/object_store_creator.py
@@ -4,9 +4,9 @@
from cache_chain_object_store import CacheChainObjectStore
from environment import GetAppVersion
+from environment_wrappers import CreatePersistentObjectStore
from memcache_object_store import MemcacheObjectStore
from test_object_store import TestObjectStore
-from persistent_object_store import PersistentObjectStore
_unspecified = object()
@@ -76,5 +76,6 @@ class ObjectStoreCreator(object):
if self._store_type is not None:
chain = (self._store_type(namespace),)
else:
- chain = (MemcacheObjectStore(namespace), PersistentObjectStore(namespace))
+ chain = (MemcacheObjectStore(namespace),
+ CreatePersistentObjectStore(namespace))
return CacheChainObjectStore(chain, start_empty=start_empty)

Powered by Google App Engine
This is Rietveld 408576698