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

Unified Diff: tools/image_expectations.h

Issue 479613002: Add ability to output ImageBaseGSUrl to render_picture and use in rebaseline server (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix render_pictures_test after rebase Created 6 years, 4 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: tools/image_expectations.h
diff --git a/tools/image_expectations.h b/tools/image_expectations.h
index 2d58b929737fe6feebfceb79adf98be48b75fdc0..422c64d4eda78b379c6fa6495fd941fdc084ac2d 100644
--- a/tools/image_expectations.h
+++ b/tools/image_expectations.h
@@ -185,6 +185,13 @@ namespace sk_tools {
void addDescription(const char *key, const char *value);
/**
+ * Adds the image base Google Storage URL to the summary of results.
+ *
+ * @param imageBaseGSUrl the image base Google Storage URL
+ */
+ void setImageBaseGSUrl(const char *imageBaseGSUrl);
+
+ /**
* Returns the Expectation for this test.
*
* @param sourceName name of the source file that generated this result
@@ -217,6 +224,7 @@ namespace sk_tools {
Json::Value fDescriptions;
Json::Value fExpectedJsonRoot;
Json::Value fExpectedResults;
+ Json::Value fImageBaseGSUrl;
};
} // namespace sk_tools

Powered by Google App Engine
This is Rietveld 408576698