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

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

Issue 10828042: Extensions Docs Server: Integration testing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix for CQ Created 8 years, 5 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/in_memory_memcache.py
diff --git a/chrome/common/extensions/docs/server2/in_memory_memcache.py b/chrome/common/extensions/docs/server2/in_memory_memcache.py
index de1892d952329bf5aaa69d4ac983547e6316f8d3..bbaddbfe0d8501ff5e475f29d7bc0bf1072b3d49 100644
--- a/chrome/common/extensions/docs/server2/in_memory_memcache.py
+++ b/chrome/common/extensions/docs/server2/in_memory_memcache.py
@@ -9,16 +9,16 @@ class InMemoryMemcache(object):
def __init__(self):
self._cache = {}
- def Set(self, key, value, namespace, time=60):
+ def set(self, key, value, namespace, time=60):
not at google - send to devlin 2012/07/31 06:04:36 this has different interface to AppEngineMemcache
if namespace not in self._cache:
self._cache[namespace] = {}
self._cache[namespace][key] = value
- def Get(self, key, namespace):
+ def get(self, key, namespace):
if namespace not in self._cache:
return None
return self._cache[namespace].get(key, None)
- def Delete(self, key, namespace):
+ def delete(self, key, namespace):
if namespace in self._cache:
self._cache[namespace].pop(key)

Powered by Google App Engine
This is Rietveld 408576698