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

Unified Diff: tools/imagediff/image_diff_png.h

Issue 21202003: Move simple png encoding for image_diff into tools/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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
« no previous file with comments | « tools/imagediff/image_diff.gyp ('k') | tools/imagediff/image_diff_png.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/imagediff/image_diff_png.h
diff --git a/webkit/support/webkit_support_gfx.h b/tools/imagediff/image_diff_png.h
similarity index 88%
rename from webkit/support/webkit_support_gfx.h
rename to tools/imagediff/image_diff_png.h
index f78f8c5726603071e17da3bef672d81d889f1ad0..6e3a654c9e5376cf0a45633d1def46631f841eed 100644
--- a/webkit/support/webkit_support_gfx.h
+++ b/tools/imagediff/image_diff_png.h
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WEBKIT_SUPPORT_WEBKIT_SUPPORT_GFX_H_
-#define WEBKIT_SUPPORT_WEBKIT_SUPPORT_GFX_H_
+#ifndef TOOLS_IMAGEDIFF_WEBKIT_SUPPORT_GFX_H_
+#define TOOLS_IMAGEDIFF_WEBKIT_SUPPORT_GFX_H_
Dirk Pranke 2013/07/30 19:37:04 #ifdef guard is wrong.
#include <string>
#include <vector>
-namespace webkit_support {
+namespace image_diff_png {
// Decode a PNG into an RGBA pixel array.
bool DecodePNG(const unsigned char* input, size_t input_size,
@@ -40,4 +40,4 @@ bool EncodeBGRAPNGWithChecksum(const unsigned char* input,
} // namespace webkit_support
-#endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_GFX_H_
+#endif // TOOLS_IMAGEDIFF_WEBKIT_SUPPORT_GFX_H_
« no previous file with comments | « tools/imagediff/image_diff.gyp ('k') | tools/imagediff/image_diff_png.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698