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

Side by Side Diff: net/spdy/chromium/spdy_proxy_client_socket.cc

Issue 2832973003: Split net/spdy into core and chromium subdirectories. (Closed)
Patch Set: Fix some more build rules. Created 3 years, 8 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
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/spdy/spdy_proxy_client_socket.h" 5 #include "net/spdy/chromium/spdy_proxy_client_socket.h"
6 6
7 #include <algorithm> // min 7 #include <algorithm> // min
8 #include <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/bind_helpers.h" 12 #include "base/bind_helpers.h"
13 #include "base/callback_helpers.h" 13 #include "base/callback_helpers.h"
14 #include "base/location.h" 14 #include "base/location.h"
15 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/single_thread_task_runner.h" 16 #include "base/single_thread_task_runner.h"
17 #include "base/strings/string_util.h" 17 #include "base/strings/string_util.h"
18 #include "base/threading/thread_task_runner_handle.h" 18 #include "base/threading/thread_task_runner_handle.h"
19 #include "base/values.h" 19 #include "base/values.h"
20 #include "net/base/auth.h" 20 #include "net/base/auth.h"
21 #include "net/base/io_buffer.h" 21 #include "net/base/io_buffer.h"
22 #include "net/http/http_auth_cache.h" 22 #include "net/http/http_auth_cache.h"
23 #include "net/http/http_auth_handler_factory.h" 23 #include "net/http/http_auth_handler_factory.h"
24 #include "net/http/http_request_info.h" 24 #include "net/http/http_request_info.h"
25 #include "net/http/http_response_headers.h" 25 #include "net/http/http_response_headers.h"
26 #include "net/http/proxy_connect_redirect_http_stream.h" 26 #include "net/http/proxy_connect_redirect_http_stream.h"
27 #include "net/log/net_log_event_type.h" 27 #include "net/log/net_log_event_type.h"
28 #include "net/log/net_log_source_type.h" 28 #include "net/log/net_log_source_type.h"
29 #include "net/spdy/spdy_http_utils.h" 29 #include "net/spdy/chromium/spdy_http_utils.h"
30 #include "url/gurl.h" 30 #include "url/gurl.h"
31 31
32 namespace net { 32 namespace net {
33 33
34 SpdyProxyClientSocket::SpdyProxyClientSocket( 34 SpdyProxyClientSocket::SpdyProxyClientSocket(
35 const base::WeakPtr<SpdyStream>& spdy_stream, 35 const base::WeakPtr<SpdyStream>& spdy_stream,
36 const SpdyString& user_agent, 36 const SpdyString& user_agent,
37 const HostPortPair& endpoint, 37 const HostPortPair& endpoint,
38 const HostPortPair& proxy_server, 38 const HostPortPair& proxy_server,
39 const NetLogWithSource& source_net_log, 39 const NetLogWithSource& source_net_log,
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 // This may have been deleted by read_callback_, so check first. 525 // This may have been deleted by read_callback_, so check first.
526 if (weak_ptr.get() && !write_callback.is_null()) 526 if (weak_ptr.get() && !write_callback.is_null())
527 write_callback.Run(ERR_CONNECTION_CLOSED); 527 write_callback.Run(ERR_CONNECTION_CLOSED);
528 } 528 }
529 529
530 NetLogSource SpdyProxyClientSocket::source_dependency() const { 530 NetLogSource SpdyProxyClientSocket::source_dependency() const {
531 return source_dependency_; 531 return source_dependency_;
532 } 532 }
533 533
534 } // namespace net 534 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/chromium/spdy_proxy_client_socket.h ('k') | net/spdy/chromium/spdy_proxy_client_socket_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698