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

Side by Side Diff: net/ssl/default_server_bound_cert_store_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/default_server_bound_cert_store.cc ('k') | net/ssl/server_bound_cert_service.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/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
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
OLDNEW
« no previous file with comments | « net/ssl/default_server_bound_cert_store.cc ('k') | net/ssl/server_bound_cert_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698