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 "net/base/default_server_bound_cert_store.h" | 5 #include "net/ssl/default_server_bound_cert_store.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/logging.h" | 13 #include "base/logging.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/message_loop.h" | 15 #include "base/message_loop.h" |
(...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
581 ++cert; | 581 ++cert; |
582 EXPECT_EQ("copied.com", cert->server_identifier()); | 582 EXPECT_EQ("copied.com", cert->server_identifier()); |
583 EXPECT_EQ("g", cert->private_key()); | 583 EXPECT_EQ("g", cert->private_key()); |
584 | 584 |
585 ++cert; | 585 ++cert; |
586 EXPECT_EQ("preexisting.com", cert->server_identifier()); | 586 EXPECT_EQ("preexisting.com", cert->server_identifier()); |
587 EXPECT_EQ("a", cert->private_key()); | 587 EXPECT_EQ("a", cert->private_key()); |
588 } | 588 } |
589 | 589 |
590 } // namespace net | 590 } // namespace net |
OLD | NEW |