OLD | NEW |
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/protocol/jingle_session.h" | 5 #include "remoting/protocol/jingle_session.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/rand_util.h" | 8 #include "base/rand_util.h" |
9 #include "base/stl_util.h" | 9 #include "base/stl_util.h" |
10 #include "base/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
11 #include "base/time.h" | 11 #include "base/time.h" |
12 #include "remoting/base/constants.h" | 12 #include "remoting/base/constants.h" |
13 #include "remoting/jingle_glue/iq_sender.h" | 13 #include "remoting/jingle_glue/iq_sender.h" |
14 #include "remoting/protocol/authenticator.h" | 14 #include "remoting/protocol/authenticator.h" |
15 #include "remoting/protocol/channel_authenticator.h" | 15 #include "remoting/protocol/channel_authenticator.h" |
16 #include "remoting/protocol/channel_multiplexer.h" | 16 #include "remoting/protocol/channel_multiplexer.h" |
17 #include "remoting/protocol/content_description.h" | 17 #include "remoting/protocol/content_description.h" |
18 #include "remoting/protocol/jingle_messages.h" | 18 #include "remoting/protocol/jingle_messages.h" |
19 #include "remoting/protocol/jingle_session_manager.h" | 19 #include "remoting/protocol/jingle_session_manager.h" |
20 #include "remoting/protocol/session_config.h" | 20 #include "remoting/protocol/session_config.h" |
(...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
628 DCHECK_NE(state_, FAILED); | 628 DCHECK_NE(state_, FAILED); |
629 | 629 |
630 state_ = new_state; | 630 state_ = new_state; |
631 if (event_handler_) | 631 if (event_handler_) |
632 event_handler_->OnSessionStateChange(new_state); | 632 event_handler_->OnSessionStateChange(new_state); |
633 } | 633 } |
634 } | 634 } |
635 | 635 |
636 } // namespace protocol | 636 } // namespace protocol |
637 } // namespace remoting | 637 } // namespace remoting |
OLD | NEW |