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

Side by Side Diff: dm/DMUtil.h

Issue 22839016: Skeleton of DM (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: missed one Created 7 years, 2 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 #ifndef DMUtil_DEFINED
2 #define DMUtil_DEFINED
3
4 #include "SkString.h"
5 #include "gm_expectations.h"
6
7 // Small free functions used in more than one place in DM.
8
9 namespace DM {
10
11 // underJoin("a", "b") -> "a_b"
12 SkString underJoin(const char* a, const char* b);
13
14 // png("a") -> "a.png"
15 SkString png(SkString s);
16
17 // Roughly, expectations.match(digest), but only does it if we're not ignoring t he result.
18 bool meetsExpectations(const skiagm::Expectations& expectations,
19 const skiagm::GmResultDigest& digest);
20
21 } // namespace DM
22
23 #endif // DMUtil_DEFINED
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698