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

Unified Diff: dm/DMJsonWriter.h

Issue 863093003: add -r to DM (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: small things Created 5 years, 11 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
« dm/DM.cpp ('K') | « dm/DM.cpp ('k') | dm/DMJsonWriter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DMJsonWriter.h
diff --git a/dm/DMJsonWriter.h b/dm/DMJsonWriter.h
index 58d85d358debf177ad63029280edf502b4e1393c..593484688b5a35a2aac9e75606d8e2d407feac73 100644
--- a/dm/DMJsonWriter.h
+++ b/dm/DMJsonWriter.h
@@ -44,7 +44,14 @@ public:
* Write all collected results to the file FLAGS_writePath[0]/dm.json.
*/
static void DumpJson();
+
+ /**
+ * Read JSON file at path written by DumpJson, calling callback for each
+ * BitmapResult recorded in the file. Return success.
+ */
+ static bool ReadJson(const char* path, void(*callback)(BitmapResult));
};
+
} // namespace DM
#endif // DMJsonWriter_DEFINED
« dm/DM.cpp ('K') | « dm/DM.cpp ('k') | dm/DMJsonWriter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698