summaryrefslogtreecommitdiff
path: root/chromium/services/data_decoder/public/cpp/test_data_decoder_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/services/data_decoder/public/cpp/test_data_decoder_service.h')
-rw-r--r--chromium/services/data_decoder/public/cpp/test_data_decoder_service.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/services/data_decoder/public/cpp/test_data_decoder_service.h b/chromium/services/data_decoder/public/cpp/test_data_decoder_service.h
index 36b92f2a226..ab99a4a459f 100644
--- a/chromium/services/data_decoder/public/cpp/test_data_decoder_service.h
+++ b/chromium/services/data_decoder/public/cpp/test_data_decoder_service.h
@@ -8,7 +8,7 @@
#include <memory>
#include "base/macros.h"
-#include "mojo/public/cpp/bindings/binding.h"
+#include "mojo/public/cpp/bindings/receiver.h"
#include "services/data_decoder/data_decoder_service.h"
#include "services/data_decoder/public/mojom/image_decoder.mojom.h"
#include "services/data_decoder/public/mojom/json_parser.mojom.h"
@@ -78,8 +78,8 @@ class CrashyDataDecoderService : public service_manager::Service,
private:
service_manager::ServiceBinding binding_;
- std::unique_ptr<mojo::Binding<mojom::ImageDecoder>> image_decoder_binding_;
- std::unique_ptr<mojo::Binding<mojom::JsonParser>> json_parser_binding_;
+ std::unique_ptr<mojo::Receiver<mojom::ImageDecoder>> image_decoder_receiver_;
+ std::unique_ptr<mojo::Receiver<mojom::JsonParser>> json_parser_receiver_;
// An instance of the actual DataDecoderService we forward requests to for
// interfaces that should not crash.