| 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_manager.h" | 5 #include "remoting/protocol/jingle_session_manager.h" |
| 6 | 6 |
| 7 #include <limits> | 7 #include <limits> |
| 8 | 8 |
| 9 #include "base/base64.h" | 9 #include "base/base64.h" |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| 11 #include "base/message_loop_proxy.h" | 11 #include "base/message_loop_proxy.h" |
| 12 #include "base/string_util.h" | 12 #include "base/string_util.h" |
| 13 #include "base/task.h" | |
| 14 #include "remoting/base/constants.h" | 13 #include "remoting/base/constants.h" |
| 15 #include "remoting/jingle_glue/jingle_info_request.h" | 14 #include "remoting/jingle_glue/jingle_info_request.h" |
| 16 #include "remoting/jingle_glue/jingle_signaling_connector.h" | 15 #include "remoting/jingle_glue/jingle_signaling_connector.h" |
| 17 #include "remoting/jingle_glue/signal_strategy.h" | 16 #include "remoting/jingle_glue/signal_strategy.h" |
| 18 #include "remoting/protocol/authenticator.h" | 17 #include "remoting/protocol/authenticator.h" |
| 19 #include "third_party/libjingle/source/talk/base/basicpacketsocketfactory.h" | 18 #include "third_party/libjingle/source/talk/base/basicpacketsocketfactory.h" |
| 20 #include "third_party/libjingle/source/talk/p2p/base/constants.h" | 19 #include "third_party/libjingle/source/talk/p2p/base/constants.h" |
| 21 #include "third_party/libjingle/source/talk/p2p/base/sessionmanager.h" | 20 #include "third_party/libjingle/source/talk/p2p/base/sessionmanager.h" |
| 22 #include "third_party/libjingle/source/talk/p2p/base/transport.h" | 21 #include "third_party/libjingle/source/talk/p2p/base/transport.h" |
| 23 #include "third_party/libjingle/source/talk/p2p/client/httpportallocator.h" | 22 #include "third_party/libjingle/source/talk/p2p/client/httpportallocator.h" |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 cricket::WriteError* error) { | 256 cricket::WriteError* error) { |
| 258 const ContentDescription* desc = | 257 const ContentDescription* desc = |
| 259 static_cast<const ContentDescription*>(content); | 258 static_cast<const ContentDescription*>(content); |
| 260 | 259 |
| 261 *elem = desc->ToXml(); | 260 *elem = desc->ToXml(); |
| 262 return true; | 261 return true; |
| 263 } | 262 } |
| 264 | 263 |
| 265 } // namespace protocol | 264 } // namespace protocol |
| 266 } // namespace remoting | 265 } // namespace remoting |
| OLD | NEW |