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/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
11 #include "base/time.h" | 11 #include "base/time/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" |
21 #include "third_party/libjingle/source/talk/p2p/base/candidate.h" | 21 #include "third_party/libjingle/source/talk/p2p/base/candidate.h" |
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
632 DCHECK_NE(state_, FAILED); | 632 DCHECK_NE(state_, FAILED); |
633 | 633 |
634 state_ = new_state; | 634 state_ = new_state; |
635 if (event_handler_) | 635 if (event_handler_) |
636 event_handler_->OnSessionStateChange(new_state); | 636 event_handler_->OnSessionStateChange(new_state); |
637 } | 637 } |
638 } | 638 } |
639 | 639 |
640 } // namespace protocol | 640 } // namespace protocol |
641 } // namespace remoting | 641 } // namespace remoting |
OLD | NEW |