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

Unified Diff: components/image_fetcher/ios/ios_image_decoder_impl.h

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/DEPS ('k') | components/image_fetcher/ios/ios_image_decoder_impl.mm » ('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.h
diff --git a/components/image_fetcher/ios/ios_image_decoder_impl.h b/components/image_fetcher/ios/ios_image_decoder_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..ae21a7ac6f26b3bc9cf79f540ea18c259da8a1c7
--- /dev/null
+++ b/components/image_fetcher/ios/ios_image_decoder_impl.h
@@ -0,0 +1,23 @@
+// Copyright 2016 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.
+
+#ifndef COMPONENTS_IMAGE_FETCHER_IOS_IMAGE_DECODER_IMPL_H_
+#define COMPONENTS_IMAGE_FETCHER_IOS_IMAGE_DECODER_IMPL_H_
+
+#include "base/memory/ref_counted.h"
+#include "components/image_fetcher/image_decoder.h"
+
+namespace base {
+class TaskRunner;
+}
+
+namespace image_fetcher {
+
+// Factory for iOS specific implementation of ImageDecoder.
+std::unique_ptr<ImageDecoder> CreateIOSImageDecoder(
+ scoped_refptr<base::TaskRunner> task_runner);
+
+} // namespace image_fetcher
+
+#endif // COMPONENTS_IMAGE_FETCHER_IOS_IMAGE_DECODER_IMPL_H_
« no previous file with comments | « components/image_fetcher/ios/DEPS ('k') | components/image_fetcher/ios/ios_image_decoder_impl.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698