#include "remoting/host/native_messaging/native_messaging_pipe.h"
#include <utility>
#include "base/functional/callback_helpers.h"
#include "base/json/json_reader.h"
#include "base/json/json_writer.h"
#include "base/values.h"
namespace remoting {
NativeMessagingPipe::NativeMessagingPipe() = default;
NativeMessagingPipe::~NativeMessagingPipe() = default;
void NativeMessagingPipe::Start(
std::unique_ptr<extensions::NativeMessageHost> host,
std::unique_ptr<extensions::NativeMessagingChannel> channel) { … }
void NativeMessagingPipe::OnMessage(const base::Value& message) { … }
void NativeMessagingPipe::OnDisconnect() { … }
void NativeMessagingPipe::PostMessageFromNativeHost(
const std::string& message) { … }
void NativeMessagingPipe::CloseChannel(const std::string& error_message) { … }
}