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

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

Issue 545003004: Roll WebRTC 7011:7046 libjingle: 7007:7045 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
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/ssl_hmac_channel_authenticator.h" 5 #include "remoting/protocol/ssl_hmac_channel_authenticator.h"
6 6
7 #include "base/base64.h" 7 #include "base/base64.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "base/path_service.h" 12 #include "base/path_service.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 "crypto/rsa_private_key.h" 15 #include "crypto/rsa_private_key.h"
16 #include "net/base/net_errors.h" 16 #include "net/base/net_errors.h"
17 #include "net/base/test_data_directory.h" 17 #include "net/base/test_data_directory.h"
18 #include "remoting/base/rsa_key_pair.h" 18 #include "remoting/base/rsa_key_pair.h"
19 #include "remoting/protocol/connection_tester.h" 19 #include "remoting/protocol/connection_tester.h"
20 #include "remoting/protocol/fake_session.h" 20 #include "remoting/protocol/fake_session.h"
21 #include "testing/gmock/include/gmock/gmock.h" 21 #include "testing/gmock/include/gmock/gmock.h"
22 #include "testing/gtest/include/gtest/gtest.h" 22 #include "testing/gtest/include/gtest/gtest.h"
23 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h" 23 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h"
24 24
25 using testing::_; 25 using testing::_;
26 using testing::NotNull; 26 using testing::NotNull;
27 using testing::SaveArg; 27 using testing::SaveArg;
28 28
29 namespace remoting { 29 namespace remoting {
30 namespace protocol { 30 namespace protocol {
31 31
32 namespace { 32 namespace {
33 33
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 host_auth_ = SslHmacChannelAuthenticator::CreateForHost( 164 host_auth_ = SslHmacChannelAuthenticator::CreateForHost(
165 host_cert_, key_pair_, kTestSharedSecret); 165 host_cert_, key_pair_, kTestSharedSecret);
166 166
167 RunChannelAuth(true); 167 RunChannelAuth(true);
168 168
169 ASSERT_TRUE(host_socket_.get() == NULL); 169 ASSERT_TRUE(host_socket_.get() == NULL);
170 } 170 }
171 171
172 } // namespace protocol 172 } // namespace protocol
173 } // namespace remoting 173 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/pairing_host_authenticator.cc ('k') | remoting/protocol/third_party_authenticator_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698