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

Side by Side Diff: remoting/host/desktop_session_win.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/host/desktop_session_proxy.cc ('k') | remoting/host/desktop_shape_tracker_win.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/host/desktop_session_win.h" 5 #include "remoting/host/desktop_session_win.h"
6 6
7 #include <limits> 7 #include <limits>
8 #include <sddl.h> 8 #include <sddl.h>
9 9
10 #include "base/base_switches.h" 10 #include "base/base_switches.h"
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 STDMETHODIMP RdpSession::EventHandler::QueryInterface(REFIID riid, void** ppv) { 327 STDMETHODIMP RdpSession::EventHandler::QueryInterface(REFIID riid, void** ppv) {
328 DCHECK(thread_checker_.CalledOnValidThread()); 328 DCHECK(thread_checker_.CalledOnValidThread());
329 329
330 if (riid == IID_IUnknown || 330 if (riid == IID_IUnknown ||
331 riid == IID_IRdpDesktopSessionEventHandler) { 331 riid == IID_IRdpDesktopSessionEventHandler) {
332 *ppv = static_cast<IRdpDesktopSessionEventHandler*>(this); 332 *ppv = static_cast<IRdpDesktopSessionEventHandler*>(this);
333 AddRef(); 333 AddRef();
334 return S_OK; 334 return S_OK;
335 } 335 }
336 336
337 *ppv = NULL; 337 *ppv = nullptr;
338 return E_NOINTERFACE; 338 return E_NOINTERFACE;
339 } 339 }
340 340
341 STDMETHODIMP RdpSession::EventHandler::OnRdpConnected() { 341 STDMETHODIMP RdpSession::EventHandler::OnRdpConnected() {
342 DCHECK(thread_checker_.CalledOnValidThread()); 342 DCHECK(thread_checker_.CalledOnValidThread());
343 343
344 if (desktop_session_) 344 if (desktop_session_)
345 desktop_session_->OnRdpConnected(); 345 desktop_session_->OnRdpConnected();
346 346
347 return S_OK; 347 return S_OK;
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 exploded.hour, 598 exploded.hour,
599 exploded.minute, 599 exploded.minute,
600 exploded.second, 600 exploded.second,
601 exploded.millisecond, 601 exploded.millisecond,
602 passed.c_str()); 602 passed.c_str());
603 603
604 last_timestamp_ = now; 604 last_timestamp_ = now;
605 } 605 }
606 606
607 } // namespace remoting 607 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/desktop_session_proxy.cc ('k') | remoting/host/desktop_shape_tracker_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698