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

Unified Diff: chrome/utility/image_decoder_impl.h

Issue 2326913003: Privatize StrongBinding lifetime management (Closed)
Patch Set: rebase Created 4 years, 3 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 | « 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
index 73f05f124f71e8def00c7b43151da063f23af604..f0852f14c00244f4953ea538771b2b9ad943804f 100644
--- a/chrome/utility/image_decoder_impl.h
+++ b/chrome/utility/image_decoder_impl.h
@@ -7,13 +7,11 @@
#include "base/macros.h"
#include "chrome/common/image_decoder.mojom.h"
-#include "mojo/public/cpp/bindings/strong_binding.h"
class ImageDecoderImpl : public mojom::ImageDecoder {
public:
+ ImageDecoderImpl();
explicit ImageDecoderImpl(int64_t max_message_size);
- explicit ImageDecoderImpl(
- mojo::InterfaceRequest<mojom::ImageDecoder> request);
~ImageDecoderImpl() override;
// Overridden from mojom::ImageDecoder:
@@ -25,7 +23,6 @@ class ImageDecoderImpl : public mojom::ImageDecoder {
private:
int64_t max_message_size_;
- mojo::StrongBinding<ImageDecoder> binding_;
DISALLOW_COPY_AND_ASSIGN(ImageDecoderImpl);
};
« 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