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

Unified Diff: app/gfx/codec/jpeg_codec_unittest.cc

Issue 243076: Move the JPEG and PNG codecs from base/gfx to app/gfx/codec. Move the classes... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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
Index: app/gfx/codec/jpeg_codec_unittest.cc
===================================================================
--- app/gfx/codec/jpeg_codec_unittest.cc (revision 0)
+++ app/gfx/codec/jpeg_codec_unittest.cc (working copy)
@@ -1,12 +1,14 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <math.h>
-#include "base/gfx/jpeg_codec.h"
+#include "app/gfx/codec/jpeg_codec.h"
#include "testing/gtest/include/gtest/gtest.h"
+namespace gfx {
+
// out of 100, this indicates how compressed it will be, this should be changed
// with jpeg equality threshold
// static int jpeg_quality = 75; // FIXME(brettw)
@@ -145,3 +147,5 @@
JPEGCodec::FORMAT_RGB, &output,
&outw, &outh));
}
+
+} // namespace gfx
Property changes on: app/gfx/codec/jpeg_codec_unittest.cc
___________________________________________________________________
Added: svn:mergeinfo
Merged /branches/chrome_webkit_merge_branch/base/gfx/jpeg_codec_unittest.cc:r69-2775
« no previous file with comments | « app/gfx/codec/jpeg_codec.cc ('k') | app/gfx/codec/png_codec.h » ('j') | build/common.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698