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

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

Issue 390983003: Remove remoting/jingle_glue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « remoting/host/host_status_logger.h ('k') | remoting/host/host_status_logger_unittest.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_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 "base/message_loop/message_loop_proxy.h" 8 #include "base/message_loop/message_loop_proxy.h"
9 #include "remoting/base/constants.h" 9 #include "remoting/base/constants.h"
10 #include "remoting/host/host_status_monitor.h" 10 #include "remoting/host/host_status_monitor.h"
11 #include "remoting/host/server_log_entry_host.h" 11 #include "remoting/host/server_log_entry_host.h"
12 #include "remoting/jingle_glue/server_log_entry.h"
13 #include "remoting/protocol/transport.h" 12 #include "remoting/protocol/transport.h"
13 #include "remoting/signaling/server_log_entry.h"
14 14
15 namespace remoting { 15 namespace remoting {
16 16
17 HostStatusLogger::HostStatusLogger(base::WeakPtr<HostStatusMonitor> monitor, 17 HostStatusLogger::HostStatusLogger(base::WeakPtr<HostStatusMonitor> monitor,
18 ServerLogEntry::Mode mode, 18 ServerLogEntry::Mode mode,
19 SignalStrategy* signal_strategy, 19 SignalStrategy* signal_strategy,
20 const std::string& directory_bot_jid) 20 const std::string& directory_bot_jid)
21 : log_to_server_(mode, signal_strategy, directory_bot_jid), 21 : log_to_server_(mode, signal_strategy, directory_bot_jid),
22 monitor_(monitor) { 22 monitor_(monitor) {
23 monitor_->AddStatusObserver(this); 23 monitor_->AddStatusObserver(this);
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 if (channel_name == kVideoChannelName) { 64 if (channel_name == kVideoChannelName) {
65 connection_route_type_[jid] = route.type; 65 connection_route_type_[jid] = route.type;
66 } 66 }
67 } 67 }
68 68
69 void HostStatusLogger::SetSignalingStateForTest(SignalStrategy::State state) { 69 void HostStatusLogger::SetSignalingStateForTest(SignalStrategy::State state) {
70 log_to_server_.OnSignalStrategyStateChange(state); 70 log_to_server_.OnSignalStrategyStateChange(state);
71 } 71 }
72 72
73 } // namespace remoting 73 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/host_status_logger.h ('k') | remoting/host/host_status_logger_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698