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

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

Issue 10399083: Make NetLog take in callbacks that return Values (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fix merge error Created 8 years, 6 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/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 19 matching lines...) Expand all
30 #include "net/base/request_priority.h" 30 #include "net/base/request_priority.h"
31 #include "net/base/ssl_cert_request_info.h" 31 #include "net/base/ssl_cert_request_info.h"
32 #include "net/base/ssl_config_service_defaults.h" 32 #include "net/base/ssl_config_service_defaults.h"
33 #include "net/base/ssl_info.h" 33 #include "net/base/ssl_info.h"
34 #include "net/base/test_completion_callback.h" 34 #include "net/base/test_completion_callback.h"
35 #include "net/base/upload_data.h" 35 #include "net/base/upload_data.h"
36 #include "net/http/http_auth_handler_digest.h" 36 #include "net/http/http_auth_handler_digest.h"
37 #include "net/http/http_auth_handler_mock.h" 37 #include "net/http/http_auth_handler_mock.h"
38 #include "net/http/http_auth_handler_ntlm.h" 38 #include "net/http/http_auth_handler_ntlm.h"
39 #include "net/http/http_basic_stream.h" 39 #include "net/http/http_basic_stream.h"
40 #include "net/http/http_net_log_params.h"
41 #include "net/http/http_network_session.h" 40 #include "net/http/http_network_session.h"
42 #include "net/http/http_network_session_peer.h" 41 #include "net/http/http_network_session_peer.h"
43 #include "net/http/http_server_properties_impl.h" 42 #include "net/http/http_server_properties_impl.h"
44 #include "net/http/http_stream.h" 43 #include "net/http/http_stream.h"
45 #include "net/http/http_stream_factory.h" 44 #include "net/http/http_stream_factory.h"
46 #include "net/http/http_transaction_unittest.h" 45 #include "net/http/http_transaction_unittest.h"
47 #include "net/proxy/proxy_config_service_fixed.h" 46 #include "net/proxy/proxy_config_service_fixed.h"
48 #include "net/proxy/proxy_resolver.h" 47 #include "net/proxy/proxy_resolver.h"
49 #include "net/proxy/proxy_service.h" 48 #include "net/proxy/proxy_service.h"
50 #include "net/socket/client_socket_factory.h" 49 #include "net/socket/client_socket_factory.h"
(...skipping 9681 matching lines...) Expand 10 before | Expand all | Expand 10 after
9732 StaticSocketDataProvider* data[] = { &data1, &data2 }; 9731 StaticSocketDataProvider* data[] = { &data1, &data2 };
9733 9732
9734 SimpleGetHelperResult out = SimpleGetHelperForData(data, arraysize(data)); 9733 SimpleGetHelperResult out = SimpleGetHelperForData(data, arraysize(data));
9735 9734
9736 EXPECT_EQ(OK, out.rv); 9735 EXPECT_EQ(OK, out.rv);
9737 EXPECT_EQ("HTTP/1.0 200 OK", out.status_line); 9736 EXPECT_EQ("HTTP/1.0 200 OK", out.status_line);
9738 EXPECT_EQ("hello world", out.response_data); 9737 EXPECT_EQ("hello world", out.response_data);
9739 } 9738 }
9740 9739
9741 } // namespace net 9740 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_network_transaction_spdy2_unittest.cc ('k') | net/http/http_proxy_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698