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

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

Issue 27026002: CT: Adding preliminary Certificate Transparency support to Chromium. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Distinguish between SCTs from unknown logs and unverified ones Created 7 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 | Annotate | Revision Log
« no previous file with comments | « net/http/http_network_session.cc ('k') | net/http/http_proxy_client_socket_pool_unittest.cc » ('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 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 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 CaptureGroupNameSSLSocketPool::CaptureGroupNameSocketPool( 505 CaptureGroupNameSSLSocketPool::CaptureGroupNameSocketPool(
506 HostResolver* host_resolver, 506 HostResolver* host_resolver,
507 CertVerifier* cert_verifier) 507 CertVerifier* cert_verifier)
508 : SSLClientSocketPool(0, 508 : SSLClientSocketPool(0,
509 0, 509 0,
510 NULL, 510 NULL,
511 host_resolver, 511 host_resolver,
512 cert_verifier, 512 cert_verifier,
513 NULL, 513 NULL,
514 NULL, 514 NULL,
515 NULL,
515 std::string(), 516 std::string(),
516 NULL, 517 NULL,
517 NULL, 518 NULL,
518 NULL, 519 NULL,
519 NULL, 520 NULL,
520 NULL, 521 NULL,
521 NULL) {} 522 NULL) {}
522 523
523 //----------------------------------------------------------------------------- 524 //-----------------------------------------------------------------------------
524 525
(...skipping 11752 matching lines...) Expand 10 before | Expand all | Expand 10 after
12277 // established, to let the HTTP request start. 12278 // established, to let the HTTP request start.
12278 ASSERT_EQ(OK, http_callback.WaitForResult()); 12279 ASSERT_EQ(OK, http_callback.WaitForResult());
12279 std::string response_data; 12280 std::string response_data;
12280 ASSERT_EQ(OK, ReadTransaction(http_trans.get(), &response_data)); 12281 ASSERT_EQ(OK, ReadTransaction(http_trans.get(), &response_data));
12281 EXPECT_EQ("falafel", response_data); 12282 EXPECT_EQ("falafel", response_data);
12282 12283
12283 EXPECT_EQ(1, GetIdleSocketCountInTransportSocketPool(session)); 12284 EXPECT_EQ(1, GetIdleSocketCountInTransportSocketPool(session));
12284 } 12285 }
12285 12286
12286 } // namespace net 12287 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_network_session.cc ('k') | net/http/http_proxy_client_socket_pool_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698