// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef REMOTING_PROTOCOL_CLIPBOARD_FILTER_H_ #define REMOTING_PROTOCOL_CLIPBOARD_FILTER_H_ #include <optional> #include "base/compiler_specific.h" #include "base/memory/raw_ptr.h" #include "remoting/protocol/clipboard_stub.h" namespace remoting::protocol { // Forwards clipboard events to |clipboard_stub|, if configured. Event // forwarding may also be disabled independently of the configured // |clipboard_stub|. ClipboardFilters initially have event forwarding enabled // and no maximum size set. If |max_size| is configured, it will be used to // limit the amount of data transferred when InjectClipboardEvent() is called. class ClipboardFilter : public ClipboardStub { … }; } // namespace remoting::protocol #endif // REMOTING_PROTOCOL_CLIPBOARD_FILTER_H_