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

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: 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
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 570 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 ++cert; 586 ++cert;
587 EXPECT_EQ("copied.com", cert->server_identifier()); 587 EXPECT_EQ("copied.com", cert->server_identifier());
588 EXPECT_EQ("g", cert->private_key()); 588 EXPECT_EQ("g", cert->private_key());
589 589
590 ++cert; 590 ++cert;
591 EXPECT_EQ("preexisting.com", cert->server_identifier()); 591 EXPECT_EQ("preexisting.com", cert->server_identifier());
592 EXPECT_EQ("a", cert->private_key()); 592 EXPECT_EQ("a", cert->private_key());
593 } 593 }
594 594
595 } // namespace net 595 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698