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

Side by Side Diff: remoting/protocol/authenticator_test_base.cc

Issue 2443903004: Add xmllite and xmpp sources to third_party/ (Closed)
Patch Set: Explicitly use webrtc_overrides/webrtc/base/logging.h Created 3 years, 11 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
« no previous file with comments | « remoting/protocol/authenticator.cc ('k') | remoting/protocol/content_description.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 (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/authenticator_test_base.h" 5 #include "remoting/protocol/authenticator_test_base.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/base64.h" 9 #include "base/base64.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/files/file_util.h" 11 #include "base/files/file_util.h"
12 #include "base/run_loop.h" 12 #include "base/run_loop.h"
13 #include "base/test/test_timeouts.h" 13 #include "base/test/test_timeouts.h"
14 #include "base/timer/timer.h" 14 #include "base/timer/timer.h"
15 #include "net/base/net_errors.h" 15 #include "net/base/net_errors.h"
16 #include "net/test/test_data_directory.h" 16 #include "net/test/test_data_directory.h"
17 #include "remoting/base/rsa_key_pair.h" 17 #include "remoting/base/rsa_key_pair.h"
18 #include "remoting/protocol/authenticator.h" 18 #include "remoting/protocol/authenticator.h"
19 #include "remoting/protocol/channel_authenticator.h" 19 #include "remoting/protocol/channel_authenticator.h"
20 #include "remoting/protocol/fake_stream_socket.h" 20 #include "remoting/protocol/fake_stream_socket.h"
21 #include "remoting/protocol/p2p_stream_socket.h" 21 #include "remoting/protocol/p2p_stream_socket.h"
22 #include "testing/gtest/include/gtest/gtest.h" 22 #include "testing/gtest/include/gtest/gtest.h"
23 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" 23 #include "third_party/libjingle_xmpp/xmllite/xmlelement.h"
24 24
25 using testing::_; 25 using testing::_;
26 using testing::SaveArg; 26 using testing::SaveArg;
27 27
28 namespace remoting { 28 namespace remoting {
29 namespace protocol { 29 namespace protocol {
30 30
31 namespace { 31 namespace {
32 32
33 ACTION_P(QuitThreadOnCounter, counter) { 33 ACTION_P(QuitThreadOnCounter, counter) {
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 169
170 void AuthenticatorTestBase::OnClientConnected( 170 void AuthenticatorTestBase::OnClientConnected(
171 int error, 171 int error,
172 std::unique_ptr<P2PStreamSocket> socket) { 172 std::unique_ptr<P2PStreamSocket> socket) {
173 client_callback_.OnDone(error); 173 client_callback_.OnDone(error);
174 client_socket_ = std::move(socket); 174 client_socket_ = std::move(socket);
175 } 175 }
176 176
177 } // namespace protocol 177 } // namespace protocol
178 } // namespace remoting 178 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/authenticator.cc ('k') | remoting/protocol/content_description.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698