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

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

Issue 2762063003: Move iOS image_fetcher::ImageDecoder to layered component (Closed)
Patch Set: More fixes. Created 3 years, 9 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/ios_image_decoder_impl.mm ('k') | ios/chrome/browser/ntp_snippets/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/image_fetcher/ios/ios_image_decoder_impl_unittest.mm
diff --git a/ios/chrome/browser/suggestions/ios_image_decoder_impl_unittest.mm b/components/image_fetcher/ios/ios_image_decoder_impl_unittest.mm
similarity index 95%
rename from ios/chrome/browser/suggestions/ios_image_decoder_impl_unittest.mm
rename to components/image_fetcher/ios/ios_image_decoder_impl_unittest.mm
index 2cb03e981dab70d4a0d2cde3a3a14b0735d7d562..b83a127b3aac40d39010effaade7b7fd98f82003 100644
--- a/ios/chrome/browser/suggestions/ios_image_decoder_impl_unittest.mm
+++ b/components/image_fetcher/ios/ios_image_decoder_impl_unittest.mm
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#import "ios/chrome/browser/suggestions/ios_image_decoder_impl.h"
+#include "components/image_fetcher/ios/ios_image_decoder_impl.h"
#import <UIKit/UIKit.h>
@@ -54,7 +54,7 @@ static unsigned char kWEBPImage[] = {
} // namespace
-namespace suggestions {
+namespace image_fetcher {
class IOSImageDecoderImplTest : public PlatformTest {
public:
@@ -72,7 +72,7 @@ class IOSImageDecoderImplTest : public PlatformTest {
base::MessageLoop loop_;
scoped_refptr<base::SequencedWorkerPool> pool_;
- std::unique_ptr<image_fetcher::ImageDecoder> ios_image_decoder_impl_;
+ std::unique_ptr<ImageDecoder> ios_image_decoder_impl_;
gfx::Image decoded_image_;
};
@@ -109,4 +109,4 @@ TEST_F(IOSImageDecoderImplTest, WebpImage) {
EXPECT_FALSE(decoded_image_.IsEmpty());
}
-} // namespace suggestions
+} // namespace image_fetcher
« no previous file with comments | « components/image_fetcher/ios/ios_image_decoder_impl.mm ('k') | ios/chrome/browser/ntp_snippets/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698