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

Side by Side 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 unified diff | Download patch
« dm/DM.cpp ('K') | « dm/DM.cpp ('k') | dm/DMJsonWriter.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef DMJsonWriter_DEFINED 8 #ifndef DMJsonWriter_DEFINED
9 #define DMJsonWriter_DEFINED 9 #define DMJsonWriter_DEFINED
10 10
(...skipping 26 matching lines...) Expand all
37 37
38 /** 38 /**
39 * Add a Failure from a Test. 39 * Add a Failure from a Test.
40 */ 40 */
41 static void AddTestFailure(const skiatest::Failure&); 41 static void AddTestFailure(const skiatest::Failure&);
42 42
43 /** 43 /**
44 * Write all collected results to the file FLAGS_writePath[0]/dm.json. 44 * Write all collected results to the file FLAGS_writePath[0]/dm.json.
45 */ 45 */
46 static void DumpJson(); 46 static void DumpJson();
47
48 /**
49 * Read JSON file at path written by DumpJson, calling callback for each
50 * BitmapResult recorded in the file. Return success.
51 */
52 static bool ReadJson(const char* path, void(*callback)(BitmapResult));
47 }; 53 };
48 54
55
49 } // namespace DM 56 } // namespace DM
50 #endif // DMJsonWriter_DEFINED 57 #endif // DMJsonWriter_DEFINED
OLDNEW
« 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