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

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

Issue 1493083002: Remove QUIC support from remoting host and client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « remoting/client/plugin/chromoting_instance.cc ('k') | remoting/protocol/BUILD.gn » ('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_status_logger.h" 5 #include "remoting/host/host_status_logger.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "remoting/base/constants.h" 8 #include "remoting/base/constants.h"
9 #include "remoting/host/host_status_monitor.h" 9 #include "remoting/host/host_status_monitor.h"
10 #include "remoting/host/server_log_entry_host.h" 10 #include "remoting/host/server_log_entry_host.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 LogSessionStateChange(jid, false); 53 LogSessionStateChange(jid, false);
54 connection_route_type_.erase(jid); 54 connection_route_type_.erase(jid);
55 } 55 }
56 56
57 void HostStatusLogger::OnClientRouteChange( 57 void HostStatusLogger::OnClientRouteChange(
58 const std::string& jid, 58 const std::string& jid,
59 const std::string& channel_name, 59 const std::string& channel_name,
60 const protocol::TransportRoute& route) { 60 const protocol::TransportRoute& route) {
61 // Store connection type for the video channel. It is logged later 61 // Store connection type for the video channel. It is logged later
62 // when client authentication is finished. 62 // when client authentication is finished.
63 if (channel_name == kVideoChannelName || channel_name == kQuicChannelName) { 63 if (channel_name == kVideoChannelName) {
64 connection_route_type_[jid] = route.type; 64 connection_route_type_[jid] = route.type;
65 } 65 }
66 } 66 }
67 67
68 void HostStatusLogger::SetSignalingStateForTest(SignalStrategy::State state) { 68 void HostStatusLogger::SetSignalingStateForTest(SignalStrategy::State state) {
69 log_to_server_.OnSignalStrategyStateChange(state); 69 log_to_server_.OnSignalStrategyStateChange(state);
70 } 70 }
71 71
72 } // namespace remoting 72 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/client/plugin/chromoting_instance.cc ('k') | remoting/protocol/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698