#include "chrome/browser/sharing/shared_clipboard/shared_clipboard_message_handler.h"
#include <memory>
#include <string>
#include "base/strings/utf_string_conversions.h"
#include "base/trace_event/trace_event.h"
#include "components/sharing_message/proto/shared_clipboard_message.pb.h"
#include "components/sharing_message/proto/sharing_message.pb.h"
#include "components/sharing_message/sharing_device_source.h"
#include "components/sharing_message/sharing_target_device_info.h"
#include "ui/base/clipboard/clipboard_buffer.h"
#include "ui/base/clipboard/scoped_clipboard_writer.h"
SharedClipboardMessageHandler::SharedClipboardMessageHandler(
SharingDeviceSource* device_source)
: … { … }
SharedClipboardMessageHandler::~SharedClipboardMessageHandler() = default;
void SharedClipboardMessageHandler::OnMessage(
components_sharing_message::SharingMessage message,
SharingMessageHandler::DoneCallback done_callback) { … }