summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/clipboard_stub.h
diff options
context:
space:
mode:
authorwez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-27 10:06:11 +0000
committerwez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-27 10:06:11 +0000
commitda09778bc5356c249d2fef0e405aaa2e7fcf3ffe (patch)
tree9f8579b13e81d976c708cbecb5cee61b1b083c72 /remoting/protocol/clipboard_stub.h
parentea7f70cf5aa5159e8376aaacb7bff5975e5da919 (diff)
downloadchromium_src-da09778bc5356c249d2fef0e405aaa2e7fcf3ffe.zip
chromium_src-da09778bc5356c249d2fef0e405aaa2e7fcf3ffe.tar.gz
chromium_src-da09778bc5356c249d2fef0e405aaa2e7fcf3ffe.tar.bz2
Make sanity-checking consistent for events received via IPC and on-the-wire.
- Make DesktopSessionAgent checks consistent with HostEvent/ControlDispatcher. - Move additional checks into platform-specific EventExecutors. BUG=177559 Review URL: https://chromiumcodereview.appspot.com/12320051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184920 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol/clipboard_stub.h')
-rw-r--r--remoting/protocol/clipboard_stub.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/remoting/protocol/clipboard_stub.h b/remoting/protocol/clipboard_stub.h
index 2cc5051..e15f44a 100644
--- a/remoting/protocol/clipboard_stub.h
+++ b/remoting/protocol/clipboard_stub.h
@@ -20,6 +20,8 @@ class ClipboardStub {
ClipboardStub() {}
virtual ~ClipboardStub() {}
+ // Implementations must not assume the presence of |event|'s fields, nor that
+ // |event.data| is correctly encoded according to the specified MIME-type.
virtual void InjectClipboardEvent(const ClipboardEvent& event) = 0;
private: