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

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

Issue 658733004: Docserver: Make ObjectStore set calls return Futures (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix, cleanup Created 6 years, 2 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
« no previous file with comments | « chrome/common/extensions/docs/server2/persistent_object_store.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/server2/test_object_store.py
diff --git a/chrome/common/extensions/docs/server2/test_object_store.py b/chrome/common/extensions/docs/server2/test_object_store.py
index 65f624999a04f8cab683b305e306f51b0a0d4083..386828ce8e9546b325feb5e488998a554984fb3c 100644
--- a/chrome/common/extensions/docs/server2/test_object_store.py
+++ b/chrome/common/extensions/docs/server2/test_object_store.py
@@ -34,6 +34,7 @@ class TestObjectStore(ObjectStore):
def SetMulti(self, mapping):
self._set_count += 1
self._store.update(mapping)
+ return Future(value=None)
def DelMulti(self, keys):
self._del_count += 1
« no previous file with comments | « chrome/common/extensions/docs/server2/persistent_object_store.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698