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

Unified Diff: tools/PictureRenderer.h

Issue 226293002: add explicit filepaths to render_pictures JSON summary (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: unittests now pass Created 6 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
« no previous file with comments | « no previous file | tools/PictureRenderer.cpp » ('j') | tools/tests/render_pictures_test.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/PictureRenderer.h
diff --git a/tools/PictureRenderer.h b/tools/PictureRenderer.h
index 7c5a9da1f0d2d97f6cb26d02b5edafc8e4f712f5..5a8b71478f64d9c7c7613baf35e91971665c03ae 100644
--- a/tools/PictureRenderer.h
+++ b/tools/PictureRenderer.h
@@ -47,17 +47,19 @@ public:
* Adds this bitmap hash to the summary of results.
*
* @param testName name of the test
+ * @param fileName relative path to the image output file on local disk
* @param hash hash to store
*/
- void add(const char *testName, uint64_t hash);
+ void add(const char *testName, const char *fileName, uint64_t hash);
/**
* Adds this bitmap's hash to the summary of results.
*
* @param testName name of the test
+ * @param fileName relative path to the image output file on local disk
* @param bitmap bitmap to store the hash of
*/
- void add(const char *testName, const SkBitmap& bitmap);
+ void add(const char *testName, const char *fileName, const SkBitmap& bitmap);
/**
* Writes the summary (as constructed so far) to a file.
« no previous file with comments | « no previous file | tools/PictureRenderer.cpp » ('j') | tools/tests/render_pictures_test.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698