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

Side by Side Diff: remoting/host/host_extension_session_manager.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/host_event_logger_win.cc ('k') | remoting/host/host_main.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/host_extension_session_manager.h" 5 #include "remoting/host/host_extension_session_manager.h"
6 6
7 #include "remoting/base/capabilities.h" 7 #include "remoting/base/capabilities.h"
8 #include "remoting/codec/video_encoder.h" 8 #include "remoting/codec/video_encoder.h"
9 #include "remoting/host/client_session_control.h" 9 #include "remoting/host/client_session_control.h"
10 #include "remoting/host/host_extension.h" 10 #include "remoting/host/host_extension.h"
11 #include "remoting/host/host_extension_session.h" 11 #include "remoting/host/host_extension_session.h"
12 #include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h" 12 #include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h"
13 namespace remoting { 13 namespace remoting {
14 14
15 HostExtensionSessionManager::HostExtensionSessionManager( 15 HostExtensionSessionManager::HostExtensionSessionManager(
16 const std::vector<HostExtension*>& extensions, 16 const std::vector<HostExtension*>& extensions,
17 ClientSessionControl* client_session_control) 17 ClientSessionControl* client_session_control)
18 : client_session_control_(client_session_control), 18 : client_session_control_(client_session_control),
19 client_stub_(NULL), 19 client_stub_(nullptr),
20 extensions_(extensions) { 20 extensions_(extensions) {
21 } 21 }
22 22
23 HostExtensionSessionManager::~HostExtensionSessionManager() { 23 HostExtensionSessionManager::~HostExtensionSessionManager() {
24 } 24 }
25 25
26 std::string HostExtensionSessionManager::GetCapabilities() const { 26 std::string HostExtensionSessionManager::GetCapabilities() const {
27 std::string capabilities; 27 std::string capabilities;
28 for (HostExtensions::const_iterator extension = extensions_.begin(); 28 for (HostExtensions::const_iterator extension = extensions_.begin();
29 extension != extensions_.end(); ++extension) { 29 extension != extensions_.end(); ++extension) {
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 it != extension_sessions_.end(); ++it) { 102 it != extension_sessions_.end(); ++it) {
103 if ((*it)->OnExtensionMessage( 103 if ((*it)->OnExtensionMessage(
104 client_session_control_, client_stub_, message)) { 104 client_session_control_, client_stub_, message)) {
105 return true; 105 return true;
106 } 106 }
107 } 107 }
108 return false; 108 return false;
109 } 109 }
110 110
111 } // namespace remoting 111 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/host_event_logger_win.cc ('k') | remoting/host/host_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698