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

Side by Side Diff: remoting/protocol/fake_session.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/fake_datagram_socket.cc ('k') | remoting/protocol/fake_stream_socket.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/fake_session.h" 5 #include "remoting/protocol/fake_session.h"
6 6
7 namespace remoting { 7 namespace remoting {
8 namespace protocol { 8 namespace protocol {
9 9
10 const char kTestJid[] = "host1@gmail.com/chromoting123"; 10 const char kTestJid[] = "host1@gmail.com/chromoting123";
11 11
12 FakeSession::FakeSession() 12 FakeSession::FakeSession()
13 : event_handler_(NULL), 13 : event_handler_(nullptr),
14 candidate_config_(CandidateSessionConfig::CreateDefault()), 14 candidate_config_(CandidateSessionConfig::CreateDefault()),
15 config_(SessionConfig::ForTest()), 15 config_(SessionConfig::ForTest()),
16 jid_(kTestJid), 16 jid_(kTestJid),
17 error_(OK), 17 error_(OK),
18 closed_(false) { 18 closed_(false) {
19 } 19 }
20 FakeSession::~FakeSession() { } 20 FakeSession::~FakeSession() { }
21 21
22 void FakeSession::SetEventHandler(EventHandler* event_handler) { 22 void FakeSession::SetEventHandler(EventHandler* event_handler) {
23 event_handler_ = event_handler; 23 event_handler_ = event_handler;
(...skipping 26 matching lines...) Expand all
50 StreamChannelFactory* FakeSession::GetMultiplexedChannelFactory() { 50 StreamChannelFactory* FakeSession::GetMultiplexedChannelFactory() {
51 return &channel_factory_; 51 return &channel_factory_;
52 } 52 }
53 53
54 void FakeSession::Close() { 54 void FakeSession::Close() {
55 closed_ = true; 55 closed_ = true;
56 } 56 }
57 57
58 } // namespace protocol 58 } // namespace protocol
59 } // namespace remoting 59 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/fake_datagram_socket.cc ('k') | remoting/protocol/fake_stream_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698