5 #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_PLATFORM_MESSAGE_HANDLER_IOS_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_PLATFORM_MESSAGE_HANDLER_IOS_H_
8 #include "flutter/fml/platform/darwin/scoped_block.h"
9 #include "flutter/fml/platform/darwin/scoped_nsobject.h"
10 #include "flutter/fml/task_runner.h"
11 #include "flutter/shell/common/platform_message_handler.h"
27 std::unique_ptr<fml::Mapping> mapping)
override;
33 NSObject<FlutterTaskQueue>* task_queue);
36 fml::scoped_nsprotocol<NSObject<FlutterTaskQueueDispatch>*>
task_queue;
37 fml::ScopedBlock<FlutterBinaryMessageHandler>
handler;
41 std::unordered_map<std::string, HandlerInfo> message_handlers_;
42 const fml::RefPtr<fml::TaskRunner> platform_task_runner_;
43 std::mutex message_handlers_mutex_;
49 #endif // FLUTTER_SHELL_PLATFORM_DARWIN_IOS_PLATFORM_MESSAGE_HANDLER_IOS_H_