Index: gm/gm_expectations.cpp |
=================================================================== |
--- gm/gm_expectations.cpp (revision 9684) |
+++ gm/gm_expectations.cpp (working copy) |
@@ -109,7 +109,21 @@ |
return jsonTypeValuePair; |
} |
+ SkString GmResultDigest::getHashType() const { |
+ // TODO(epoger): The current implementation assumes that the |
+ // result digest is always of type kJsonKey_Hashtype_Bitmap_64bitMD5 |
+ return SkString(kJsonKey_Hashtype_Bitmap_64bitMD5); |
+ } |
+ SkString GmResultDigest::getDigestValue() const { |
+ // TODO(epoger): The current implementation assumes that the |
+ // result digest is always of type kJsonKey_Hashtype_Bitmap_64bitMD5 |
+ SkString retval; |
+ retval.appendU64(fHashDigest); |
+ return retval; |
+ } |
+ |
+ |
// Expectations class... |
Expectations::Expectations(bool ignoreFailure) { |