| OLD | NEW |
| 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/signaling/xmpp_signal_strategy.h" | 5 #include "remoting/signaling/xmpp_signal_strategy.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/location.h" | 10 #include "base/location.h" |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/macros.h" |
| 12 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
| 13 #include "base/rand_util.h" | 14 #include "base/rand_util.h" |
| 14 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
| 15 #include "base/strings/string_number_conversions.h" | 16 #include "base/strings/string_number_conversions.h" |
| 16 #include "base/thread_task_runner_handle.h" | 17 #include "base/thread_task_runner_handle.h" |
| 17 #include "base/threading/thread_checker.h" | 18 #include "base/threading/thread_checker.h" |
| 18 #include "base/time/time.h" | 19 #include "base/time/time.h" |
| 19 #include "base/timer/timer.h" | 20 #include "base/timer/timer.h" |
| 20 #include "jingle/glue/proxy_resolving_client_socket.h" | 21 #include "jingle/glue/proxy_resolving_client_socket.h" |
| 21 #include "net/cert/cert_verifier.h" | 22 #include "net/cert/cert_verifier.h" |
| (...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 528 std::string XmppSignalStrategy::GetNextId() { | 529 std::string XmppSignalStrategy::GetNextId() { |
| 529 return base::Uint64ToString(base::RandUint64()); | 530 return base::Uint64ToString(base::RandUint64()); |
| 530 } | 531 } |
| 531 | 532 |
| 532 void XmppSignalStrategy::SetAuthInfo(const std::string& username, | 533 void XmppSignalStrategy::SetAuthInfo(const std::string& username, |
| 533 const std::string& auth_token) { | 534 const std::string& auth_token) { |
| 534 core_->SetAuthInfo(username, auth_token); | 535 core_->SetAuthInfo(username, auth_token); |
| 535 } | 536 } |
| 536 | 537 |
| 537 } // namespace remoting | 538 } // namespace remoting |
| OLD | NEW |