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

Side by Side Diff: remoting/protocol/clipboard_echo_filter.cc

Issue 810133003: replace NULL->nullptr in src/remoting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/client_control_dispatcher.cc ('k') | remoting/protocol/clipboard_filter.cc » ('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 #include "remoting/protocol/clipboard_echo_filter.h" 5 #include "remoting/protocol/clipboard_echo_filter.h"
6 6
7 #include "remoting/proto/event.pb.h" 7 #include "remoting/proto/event.pb.h"
8 8
9 namespace remoting { 9 namespace remoting {
10 namespace protocol { 10 namespace protocol {
11 11
12 ClipboardEchoFilter::ClipboardEchoFilter() 12 ClipboardEchoFilter::ClipboardEchoFilter()
13 : host_stub_(NULL), 13 : host_stub_(nullptr),
14 client_stub_(NULL), 14 client_stub_(nullptr),
15 client_filter_(this), 15 client_filter_(this),
16 host_filter_(this) { 16 host_filter_(this) {
17 } 17 }
18 18
19 ClipboardEchoFilter::~ClipboardEchoFilter() { 19 ClipboardEchoFilter::~ClipboardEchoFilter() {
20 } 20 }
21 21
22 void ClipboardEchoFilter::set_client_stub(ClipboardStub* client_stub) { 22 void ClipboardEchoFilter::set_client_stub(ClipboardStub* client_stub) {
23 client_stub_ = client_stub; 23 client_stub_ = client_stub;
24 } 24 }
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 ClipboardEchoFilter* filter) : filter_(filter) { 69 ClipboardEchoFilter* filter) : filter_(filter) {
70 } 70 }
71 71
72 void ClipboardEchoFilter::HostFilter::InjectClipboardEvent( 72 void ClipboardEchoFilter::HostFilter::InjectClipboardEvent(
73 const ClipboardEvent& event) { 73 const ClipboardEvent& event) {
74 filter_->InjectClipboardEventToHost(event); 74 filter_->InjectClipboardEventToHost(event);
75 } 75 }
76 76
77 } // namespace protocol 77 } // namespace protocol
78 } // namespace remoting 78 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/client_control_dispatcher.cc ('k') | remoting/protocol/clipboard_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698