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

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

Issue 628753002: replace OVERRIDE and FINAL with override and final in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 months 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/connection_to_client.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 // ClipboardThreadProxy is used to allow a Clipboard on the UI thread to invoke 5 // ClipboardThreadProxy is used to allow a Clipboard on the UI thread to invoke
6 // a ClipboardStub on the network thread. 6 // a ClipboardStub on the network thread.
7 7
8 #ifndef REMOTING_PROTOCOL_CLIPBOARD_THREAD_PROXY_H_ 8 #ifndef REMOTING_PROTOCOL_CLIPBOARD_THREAD_PROXY_H_
9 #define REMOTING_PROTOCOL_CLIPBOARD_THREAD_PROXY_H_ 9 #define REMOTING_PROTOCOL_CLIPBOARD_THREAD_PROXY_H_
10 10
(...skipping 12 matching lines...) Expand all
23 public: 23 public:
24 virtual ~ClipboardThreadProxy(); 24 virtual ~ClipboardThreadProxy();
25 25
26 // Constructs a proxy for |clipboard_stub| which will trampoline invocations 26 // Constructs a proxy for |clipboard_stub| which will trampoline invocations
27 // to |clipboard_stub_task_runner|. 27 // to |clipboard_stub_task_runner|.
28 ClipboardThreadProxy( 28 ClipboardThreadProxy(
29 const base::WeakPtr<ClipboardStub>& clipboard_stub, 29 const base::WeakPtr<ClipboardStub>& clipboard_stub,
30 scoped_refptr<base::TaskRunner> clipboard_stub_task_runner); 30 scoped_refptr<base::TaskRunner> clipboard_stub_task_runner);
31 31
32 // ClipboardStub implementation. 32 // ClipboardStub implementation.
33 virtual void InjectClipboardEvent(const ClipboardEvent& event) OVERRIDE; 33 virtual void InjectClipboardEvent(const ClipboardEvent& event) override;
34 34
35 private: 35 private:
36 // Injects a clipboard event into a stub, if the given weak pointer to the 36 // Injects a clipboard event into a stub, if the given weak pointer to the
37 // stub is valid. 37 // stub is valid.
38 static void InjectClipboardEventStatic( 38 static void InjectClipboardEventStatic(
39 const base::WeakPtr<ClipboardStub>& clipboard_stub, 39 const base::WeakPtr<ClipboardStub>& clipboard_stub,
40 const ClipboardEvent& event); 40 const ClipboardEvent& event);
41 41
42 base::WeakPtr<ClipboardStub> clipboard_stub_; 42 base::WeakPtr<ClipboardStub> clipboard_stub_;
43 scoped_refptr<base::TaskRunner> clipboard_stub_task_runner_; 43 scoped_refptr<base::TaskRunner> clipboard_stub_task_runner_;
44 44
45 DISALLOW_COPY_AND_ASSIGN(ClipboardThreadProxy); 45 DISALLOW_COPY_AND_ASSIGN(ClipboardThreadProxy);
46 }; 46 };
47 47
48 } // namespace protocol 48 } // namespace protocol
49 } // namespace remoting 49 } // namespace remoting
50 50
51 #endif // REMOTING_PROTOCOL_CLIPBOARD_THREAD_PROXY_H_ 51 #endif // REMOTING_PROTOCOL_CLIPBOARD_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « remoting/protocol/clipboard_filter.h ('k') | remoting/protocol/connection_to_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698