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

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

Issue 14267024: Devserver: have a separate ObjectStore namespace (both memcache and datastore) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove _CheckVersions Created 7 years, 8 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/branch_utility.py
diff --git a/chrome/common/extensions/docs/server2/branch_utility.py b/chrome/common/extensions/docs/server2/branch_utility.py
index 282c6a4e7bf33d86705dd8e5dccd73fdc6b19bf7..633c5f3a6df26ef1bd3c406f93adc4dca8da4c9b 100644
--- a/chrome/common/extensions/docs/server2/branch_utility.py
+++ b/chrome/common/extensions/docs/server2/branch_utility.py
@@ -6,6 +6,7 @@ import json
import logging
import operator
+from appengine_wrappers import GetAppVersion
from object_store_creator import ObjectStoreCreator
class BranchUtility(object):
@@ -13,7 +14,8 @@ class BranchUtility(object):
self._fetch_url = fetch_url
self._fetcher = fetcher
if object_store is None:
- object_store = ObjectStoreCreator(BranchUtility).Create()
+ object_store = (ObjectStoreCreator.SharedFactory(GetAppVersion())
+ .Create(BranchUtility).Create())
self._object_store = object_store
@staticmethod

Powered by Google App Engine
This is Rietveld 408576698