| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef REMOTING_PROTOCOL_CLIPBOARD_ECHO_FILTER_H_ | 5 #ifndef REMOTING_PROTOCOL_CLIPBOARD_ECHO_FILTER_H_ |
| 6 #define REMOTING_PROTOCOL_CLIPBOARD_ECHO_FILTER_H_ | 6 #define REMOTING_PROTOCOL_CLIPBOARD_ECHO_FILTER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/macros.h" |
| 12 #include "remoting/protocol/clipboard_stub.h" | 13 #include "remoting/protocol/clipboard_stub.h" |
| 13 | 14 |
| 14 namespace remoting { | 15 namespace remoting { |
| 15 namespace protocol { | 16 namespace protocol { |
| 16 | 17 |
| 17 // ClipboardEchoFilter stops the host sending a clipboard item to the | 18 // ClipboardEchoFilter stops the host sending a clipboard item to the |
| 18 // client, if that item was the latest item received from the client. | 19 // client, if that item was the latest item received from the client. |
| 19 class ClipboardEchoFilter { | 20 class ClipboardEchoFilter { |
| 20 public: | 21 public: |
| 21 ClipboardEchoFilter(); | 22 ClipboardEchoFilter(); |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 std::string client_latest_mime_type_; | 67 std::string client_latest_mime_type_; |
| 67 std::string client_latest_data_; | 68 std::string client_latest_data_; |
| 68 | 69 |
| 69 DISALLOW_COPY_AND_ASSIGN(ClipboardEchoFilter); | 70 DISALLOW_COPY_AND_ASSIGN(ClipboardEchoFilter); |
| 70 }; | 71 }; |
| 71 | 72 |
| 72 } // namespace protocol | 73 } // namespace protocol |
| 73 } // namespace remoting | 74 } // namespace remoting |
| 74 | 75 |
| 75 #endif // REMOTING_PROTOCOL_CLIPBOARD_ECHO_FILTER_H_ | 76 #endif // REMOTING_PROTOCOL_CLIPBOARD_ECHO_FILTER_H_ |
| OLD | NEW |