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

Unified Diff: components/image_fetcher/ios/webp_decoder_unittest.mm

Issue 2699633006: Move WebpDecoder from ios/web to components/image_fetcher (Closed)
Patch Set: Separate header Created 3 years, 10 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 | « components/image_fetcher/ios/webp_decoder.mm ('k') | components/test/data/webp_transcode/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/image_fetcher/ios/webp_decoder_unittest.mm
diff --git a/ios/web/public/image_fetcher/webp_decoder_unittest.mm b/components/image_fetcher/ios/webp_decoder_unittest.mm
similarity index 98%
rename from ios/web/public/image_fetcher/webp_decoder_unittest.mm
rename to components/image_fetcher/ios/webp_decoder_unittest.mm
index 64d767c3f81f99b8b54241b367337d31706b44f1..0ae7b571526009dc42d5fdf406463442f993d1c5 100644
--- a/ios/web/public/image_fetcher/webp_decoder_unittest.mm
+++ b/components/image_fetcher/ios/webp_decoder_unittest.mm
@@ -2,10 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#import "ios/web/public/image_fetcher/webp_decoder.h"
+#import "components/image_fetcher/ios/webp_decoder.h"
#import <CoreGraphics/CoreGraphics.h>
#import <Foundation/Foundation.h>
+
#include <stddef.h>
#include <stdint.h>
@@ -59,8 +60,8 @@ class WebpDecoderTest : public testing::Test {
NSData* LoadImage(const base::FilePath& filename) {
base::FilePath path;
PathService::Get(base::DIR_SOURCE_ROOT, &path);
- path =
- path.AppendASCII("ios/web/test/data/webp_transcode").Append(filename);
+ path = path.AppendASCII("components/test/data/webp_transcode")
+ .Append(filename);
return
[NSData dataWithContentsOfFile:base::SysUTF8ToNSString(path.value())];
}
« no previous file with comments | « components/image_fetcher/ios/webp_decoder.mm ('k') | components/test/data/webp_transcode/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698