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

Unified Diff: gm/rebaseline_server/imagediffdb.py

Issue 379563005: rebaseline_server: cache results in long-running ImageDiffDB instance (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 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
« no previous file with comments | « gm/rebaseline_server/compare_to_expectations_test.py ('k') | gm/rebaseline_server/server.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/rebaseline_server/imagediffdb.py
diff --git a/gm/rebaseline_server/imagediffdb.py b/gm/rebaseline_server/imagediffdb.py
index 985017af1c28b862525957588df4e8482ca10541..be4f8c17fa4fa7cc0667a8b3256b0a49c33cbe4f 100644
--- a/gm/rebaseline_server/imagediffdb.py
+++ b/gm/rebaseline_server/imagediffdb.py
@@ -221,6 +221,9 @@ class ImageDiffDB(object):
# actual_image_locator) tuples.
self._diff_dict = {}
+ def get_storage_root(self):
rmistry 2014/07/09 13:14:04 [Optional] Can also do: @property def storage_roo
epoger 2014/07/09 14:57:36 Good point. Fixed this one, and added a TODO for
+ return self._storage_root
+
def add_image_pair(self,
expected_image_url, expected_image_locator,
actual_image_url, actual_image_locator):
« no previous file with comments | « gm/rebaseline_server/compare_to_expectations_test.py ('k') | gm/rebaseline_server/server.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698