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

Unified Diff: chrome/utility/image_decoder_impl.h

Issue 2475543003: Introduce the image_decoder service (Closed)
Patch Set: . Created 4 years, 1 month 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 | « chrome/utility/chrome_content_utility_client.cc ('k') | chrome/utility/image_decoder_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/image_decoder_impl.h
diff --git a/chrome/utility/image_decoder_impl.h b/chrome/utility/image_decoder_impl.h
deleted file mode 100644
index 7f82054d4c5ef5b70e37fa450363dcf4256bb650..0000000000000000000000000000000000000000
--- a/chrome/utility/image_decoder_impl.h
+++ /dev/null
@@ -1,29 +0,0 @@
-// 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 CHROME_UTILITY_IMAGE_DECODER_IMPL_H_
-#define CHROME_UTILITY_IMAGE_DECODER_IMPL_H_
-
-#include "base/macros.h"
-#include "chrome/common/image_decoder.mojom.h"
-
-class ImageDecoderImpl : public mojom::ImageDecoder {
- public:
- ImageDecoderImpl();
- explicit ImageDecoderImpl(int64_t max_message_size);
- ~ImageDecoderImpl() override;
-
- // Overridden from mojom::ImageDecoder:
- void DecodeImage(const std::vector<uint8_t>& encoded_data,
- mojom::ImageCodec codec,
- bool shrink_to_fit,
- const DecodeImageCallback& callback) override;
-
- private:
- int64_t max_message_size_;
-
- DISALLOW_COPY_AND_ASSIGN(ImageDecoderImpl);
-};
-
-#endif // CHROME_UTILITY_IMAGE_DECODER_IMPL_H_
« no previous file with comments | « chrome/utility/chrome_content_utility_client.cc ('k') | chrome/utility/image_decoder_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698