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

Side by Side Diff: content/renderer/ico_image_decoder_unittest.cc

Issue 14606009: Cleanup: Remove unneeded base/file_util.h includes in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 7 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
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/file_util.h"
6 #include "base/files/file_path.h" 5 #include "base/files/file_path.h"
7 #include "content/test/image_decoder_test.h" 6 #include "content/test/image_decoder_test.h"
8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebImageDecoder.h" 7 #include "third_party/WebKit/Source/WebKit/chromium/public/WebImageDecoder.h"
9 8
10 using WebKit::WebImageDecoder; 9 using WebKit::WebImageDecoder;
11 10
12 class ICOImageDecoderTest : public ImageDecoderTest { 11 class ICOImageDecoderTest : public ImageDecoderTest {
13 public: 12 public:
14 ICOImageDecoderTest() : ImageDecoderTest("ico") { } 13 ICOImageDecoderTest() : ImageDecoderTest("ico") { }
15 14
(...skipping 11 matching lines...) Expand all
27 if (data_dir_.empty()) 26 if (data_dir_.empty())
28 return; 27 return;
29 // Test that the decoder decodes multiple sizes of icons which have them. 28 // Test that the decoder decodes multiple sizes of icons which have them.
30 // Load an icon that has both favicon-size and larger entries. 29 // Load an icon that has both favicon-size and larger entries.
31 base::FilePath multisize_icon_path(data_dir_.AppendASCII("yahoo.ico")); 30 base::FilePath multisize_icon_path(data_dir_.AppendASCII("yahoo.ico"));
32 const base::FilePath md5_sum_path( 31 const base::FilePath md5_sum_path(
33 GetMD5SumPath(multisize_icon_path).value() + FILE_PATH_LITERAL("2")); 32 GetMD5SumPath(multisize_icon_path).value() + FILE_PATH_LITERAL("2"));
34 static const int kDesiredFrameIndex = 3; 33 static const int kDesiredFrameIndex = 3;
35 TestWebKitImageDecoder(multisize_icon_path, md5_sum_path, kDesiredFrameIndex); 34 TestWebKitImageDecoder(multisize_icon_path, md5_sum_path, kDesiredFrameIndex);
36 } 35 }
OLDNEW
« no previous file with comments | « content/renderer/browser_plugin/browser_plugin_browsertest.cc ('k') | content/renderer/renderer_webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698