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

Side by Side Diff: net/ssl/server_bound_cert_service_unittest.cc

Issue 12680003: net: split net/ssl out of net/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « net/ssl/server_bound_cert_service.cc ('k') | net/ssl/server_bound_cert_store.h » ('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 "net/base/server_bound_cert_service.h" 5 #include "net/ssl/server_bound_cert_service.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/message_loop.h" 12 #include "base/message_loop.h"
13 #include "base/threading/sequenced_worker_pool.h" 13 #include "base/threading/sequenced_worker_pool.h"
14 #include "crypto/ec_private_key.h" 14 #include "crypto/ec_private_key.h"
15 #include "net/base/asn1_util.h" 15 #include "net/base/asn1_util.h"
16 #include "net/base/default_server_bound_cert_store.h"
17 #include "net/base/net_errors.h" 16 #include "net/base/net_errors.h"
18 #include "net/base/test_completion_callback.h" 17 #include "net/base/test_completion_callback.h"
19 #include "net/base/x509_certificate.h" 18 #include "net/base/x509_certificate.h"
19 #include "net/ssl/default_server_bound_cert_store.h"
20 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
21 21
22 namespace net { 22 namespace net {
23 23
24 namespace { 24 namespace {
25 25
26 void FailTest(int /* result */) { 26 void FailTest(int /* result */) {
27 FAIL(); 27 FAIL();
28 } 28 }
29 29
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 EXPECT_EQ(CLIENT_CERT_ECDSA_SIGN, type2); 555 EXPECT_EQ(CLIENT_CERT_ECDSA_SIGN, type2);
556 EXPECT_LT(1U, private_key_info2.size()); 556 EXPECT_LT(1U, private_key_info2.size());
557 EXPECT_LT(1U, der_cert2.size()); 557 EXPECT_LT(1U, der_cert2.size());
558 } 558 }
559 559
560 #endif // !defined(USE_OPENSSL) 560 #endif // !defined(USE_OPENSSL)
561 561
562 } // namespace 562 } // namespace
563 563
564 } // namespace net 564 } // namespace net
OLDNEW
« no previous file with comments | « net/ssl/server_bound_cert_service.cc ('k') | net/ssl/server_bound_cert_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698