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

Side by Side Diff: net/http/http_network_transaction_unittest.cc

Issue 422063004: Certificate Transparency: Require SCTs for EV certificates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing pointer type and tests Created 6 years, 1 month 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/http/http_network_transaction.h" 5 #include "net/http/http_network_transaction.h"
6 6
7 #include <math.h> // ceil 7 #include <math.h> // ceil
8 #include <stdarg.h> 8 #include <stdarg.h>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 HostResolver* host_resolver, 574 HostResolver* host_resolver,
575 CertVerifier* cert_verifier) 575 CertVerifier* cert_verifier)
576 : SSLClientSocketPool(0, 576 : SSLClientSocketPool(0,
577 0, 577 0,
578 NULL, 578 NULL,
579 host_resolver, 579 host_resolver,
580 cert_verifier, 580 cert_verifier,
581 NULL, 581 NULL,
582 NULL, 582 NULL,
583 NULL, 583 NULL,
584 NULL,
584 std::string(), 585 std::string(),
585 NULL, 586 NULL,
586 NULL, 587 NULL,
587 NULL, 588 NULL,
588 NULL, 589 NULL,
589 NULL, 590 NULL,
590 false, 591 false,
591 NULL) { 592 NULL) {
592 } 593 }
593 594
(...skipping 12583 matching lines...) Expand 10 before | Expand all | Expand 10 after
13177 EXPECT_EQ(ERR_IO_PENDING, rv); 13178 EXPECT_EQ(ERR_IO_PENDING, rv);
13178 13179
13179 rv = callback.WaitForResult(); 13180 rv = callback.WaitForResult();
13180 EXPECT_EQ(ERR_CONNECTION_RESET, rv); 13181 EXPECT_EQ(ERR_CONNECTION_RESET, rv);
13181 13182
13182 const HttpResponseInfo* response = trans->GetResponseInfo(); 13183 const HttpResponseInfo* response = trans->GetResponseInfo();
13183 EXPECT_TRUE(response == NULL); 13184 EXPECT_TRUE(response == NULL);
13184 } 13185 }
13185 13186
13186 } // namespace net 13187 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698