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

Side by Side Diff: remoting/host/desktop_session_proxy.cc

Issue 2561963002: base: Remove the string logging from CHECK(). (Closed)
Patch Set: checkstring: rebase Created 4 years 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
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_proxy.h" 5 #include "remoting/host/desktop_session_proxy.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <utility> 9 #include <utility>
10 10
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 IPC_MESSAGE_HANDLER(ChromotingDesktopNetworkMsg_CreateSharedBuffer, 187 IPC_MESSAGE_HANDLER(ChromotingDesktopNetworkMsg_CreateSharedBuffer,
188 OnCreateSharedBuffer) 188 OnCreateSharedBuffer)
189 IPC_MESSAGE_HANDLER(ChromotingDesktopNetworkMsg_ReleaseSharedBuffer, 189 IPC_MESSAGE_HANDLER(ChromotingDesktopNetworkMsg_ReleaseSharedBuffer,
190 OnReleaseSharedBuffer) 190 OnReleaseSharedBuffer)
191 IPC_MESSAGE_HANDLER(ChromotingDesktopNetworkMsg_InjectClipboardEvent, 191 IPC_MESSAGE_HANDLER(ChromotingDesktopNetworkMsg_InjectClipboardEvent,
192 OnInjectClipboardEvent) 192 OnInjectClipboardEvent)
193 IPC_MESSAGE_HANDLER(ChromotingDesktopNetworkMsg_DisconnectSession, 193 IPC_MESSAGE_HANDLER(ChromotingDesktopNetworkMsg_DisconnectSession,
194 DisconnectSession); 194 DisconnectSession);
195 IPC_END_MESSAGE_MAP() 195 IPC_END_MESSAGE_MAP()
196 196
197 CHECK(handled) << "Received unexpected IPC type: " << message.type(); 197 // Received unexpected IPC type.
198 CHECK(handled);
198 return handled; 199 return handled;
199 } 200 }
200 201
201 void DesktopSessionProxy::OnChannelConnected(int32_t peer_pid) { 202 void DesktopSessionProxy::OnChannelConnected(int32_t peer_pid) {
202 DCHECK(caller_task_runner_->BelongsToCurrentThread()); 203 DCHECK(caller_task_runner_->BelongsToCurrentThread());
203 204
204 VLOG(1) << "IPC: network <- desktop (" << peer_pid << ")"; 205 VLOG(1) << "IPC: network <- desktop (" << peer_pid << ")";
205 } 206 }
206 207
207 void DesktopSessionProxy::OnChannelError() { 208 void DesktopSessionProxy::OnChannelError() {
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 } 528 }
528 529
529 // static 530 // static
530 void DesktopSessionProxyTraits::Destruct( 531 void DesktopSessionProxyTraits::Destruct(
531 const DesktopSessionProxy* desktop_session_proxy) { 532 const DesktopSessionProxy* desktop_session_proxy) {
532 desktop_session_proxy->caller_task_runner_->DeleteSoon(FROM_HERE, 533 desktop_session_proxy->caller_task_runner_->DeleteSoon(FROM_HERE,
533 desktop_session_proxy); 534 desktop_session_proxy);
534 } 535 }
535 536
536 } // namespace remoting 537 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698