Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Side by Side Diff: remoting/protocol/clipboard_stub.h

Issue 1542203002: Switch to standard integer types in remoting/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-remoting-host
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « remoting/protocol/clipboard_filter.h ('k') | remoting/protocol/clipboard_thread_proxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 // Interface for an object that receives clipboard events. 5 // Interface for an object that receives clipboard events.
6 // This interface handles some event messages defined in event.proto. 6 // This interface handles some event messages defined in event.proto.
7 7
8 #ifndef REMOTING_PROTOCOL_CLIPBOARD_STUB_H_ 8 #ifndef REMOTING_PROTOCOL_CLIPBOARD_STUB_H_
9 #define REMOTING_PROTOCOL_CLIPBOARD_STUB_H_ 9 #define REMOTING_PROTOCOL_CLIPBOARD_STUB_H_
10 10
11 #include "base/basictypes.h" 11 #include "base/macros.h"
12 12
13 namespace remoting { 13 namespace remoting {
14 namespace protocol { 14 namespace protocol {
15 15
16 class ClipboardEvent; 16 class ClipboardEvent;
17 17
18 class ClipboardStub { 18 class ClipboardStub {
19 public: 19 public:
20 ClipboardStub() {} 20 ClipboardStub() {}
21 virtual ~ClipboardStub() {} 21 virtual ~ClipboardStub() {}
22 22
23 // Implementations must not assume the presence of |event|'s fields, nor that 23 // Implementations must not assume the presence of |event|'s fields, nor that
24 // |event.data| is correctly encoded according to the specified MIME-type. 24 // |event.data| is correctly encoded according to the specified MIME-type.
25 virtual void InjectClipboardEvent(const ClipboardEvent& event) = 0; 25 virtual void InjectClipboardEvent(const ClipboardEvent& event) = 0;
26 26
27 private: 27 private:
28 DISALLOW_COPY_AND_ASSIGN(ClipboardStub); 28 DISALLOW_COPY_AND_ASSIGN(ClipboardStub);
29 }; 29 };
30 30
31 } // namespace protocol 31 } // namespace protocol
32 } // namespace remoting 32 } // namespace remoting
33 33
34 #endif // REMOTING_PROTOCOL_CLIPBOARD_STUB_H_ 34 #endif // REMOTING_PROTOCOL_CLIPBOARD_STUB_H_
OLDNEW
« no previous file with comments | « remoting/protocol/clipboard_filter.h ('k') | remoting/protocol/clipboard_thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698