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

Side by Side Diff: net/websockets/websocket_job_spdy2_unittest.cc

Issue 12518036: net: move host_resolver files from net/base to net/dns (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/websockets/websocket_job.h" 5 #include "net/websockets/websocket_job.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/bind_helpers.h" 11 #include "base/bind_helpers.h"
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/string_util.h" 14 #include "base/string_util.h"
15 #include "base/strings/string_split.h" 15 #include "base/strings/string_split.h"
16 #include "googleurl/src/gurl.h" 16 #include "googleurl/src/gurl.h"
17 #include "net/base/completion_callback.h" 17 #include "net/base/completion_callback.h"
18 #include "net/base/mock_host_resolver.h"
19 #include "net/base/net_errors.h" 18 #include "net/base/net_errors.h"
20 #include "net/base/test_completion_callback.h" 19 #include "net/base/test_completion_callback.h"
21 #include "net/cookies/cookie_store.h" 20 #include "net/cookies/cookie_store.h"
22 #include "net/cookies/cookie_store_test_helpers.h" 21 #include "net/cookies/cookie_store_test_helpers.h"
22 #include "net/dns/mock_host_resolver.h"
23 #include "net/http/http_transaction_factory.h" 23 #include "net/http/http_transaction_factory.h"
24 #include "net/http/transport_security_state.h" 24 #include "net/http/transport_security_state.h"
25 #include "net/proxy/proxy_service.h" 25 #include "net/proxy/proxy_service.h"
26 #include "net/socket/socket_test_util.h" 26 #include "net/socket/socket_test_util.h"
27 #include "net/socket_stream/socket_stream.h" 27 #include "net/socket_stream/socket_stream.h"
28 #include "net/spdy/spdy_session.h" 28 #include "net/spdy/spdy_session.h"
29 #include "net/spdy/spdy_test_util_spdy2.h" 29 #include "net/spdy/spdy_test_util_spdy2.h"
30 #include "net/spdy/spdy_websocket_test_util_spdy2.h" 30 #include "net/spdy/spdy_websocket_test_util_spdy2.h"
31 #include "net/ssl/ssl_config_service.h" 31 #include "net/ssl/ssl_config_service.h"
32 #include "net/url_request/url_request_context.h" 32 #include "net/url_request/url_request_context.h"
(...skipping 1053 matching lines...) Expand 10 before | Expand all | Expand 10 after
1086 1086
1087 TEST_F(WebSocketJobSpdy2Test, ThrottlingSpdySpdyEnabled) { 1087 TEST_F(WebSocketJobSpdy2Test, ThrottlingSpdySpdyEnabled) {
1088 WebSocketJob::set_websocket_over_spdy_enabled(true); 1088 WebSocketJob::set_websocket_over_spdy_enabled(true);
1089 TestConnectBySpdy(SPDY_ON, THROTTLING_ON); 1089 TestConnectBySpdy(SPDY_ON, THROTTLING_ON);
1090 } 1090 }
1091 1091
1092 // TODO(toyoshim): Add tests to verify throttling, SPDY stream limitation. 1092 // TODO(toyoshim): Add tests to verify throttling, SPDY stream limitation.
1093 // TODO(toyoshim,yutak): Add tests to verify closing handshake. 1093 // TODO(toyoshim,yutak): Add tests to verify closing handshake.
1094 1094
1095 } // namespace net 1095 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698