OLD | NEW |
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 "content/shell/shell_network_delegate.h" | 5 #include "content/shell/shell_network_delegate.h" |
6 | 6 |
7 #include "net/base/net_errors.h" | 7 #include "net/base/net_errors.h" |
8 | 8 |
9 namespace content { | 9 namespace content { |
10 | 10 |
(...skipping 18 matching lines...) Expand all Loading... |
29 } | 29 } |
30 | 30 |
31 void ShellNetworkDelegate::OnSendHeaders( | 31 void ShellNetworkDelegate::OnSendHeaders( |
32 net::URLRequest* request, | 32 net::URLRequest* request, |
33 const net::HttpRequestHeaders& headers) { | 33 const net::HttpRequestHeaders& headers) { |
34 } | 34 } |
35 | 35 |
36 int ShellNetworkDelegate::OnHeadersReceived( | 36 int ShellNetworkDelegate::OnHeadersReceived( |
37 net::URLRequest* request, | 37 net::URLRequest* request, |
38 const net::CompletionCallback& callback, | 38 const net::CompletionCallback& callback, |
39 net::HttpResponseHeaders* original_response_headers, | 39 const net::HttpResponseHeaders* original_response_headers, |
40 scoped_refptr<net::HttpResponseHeaders>* override_response_headers) { | 40 scoped_refptr<net::HttpResponseHeaders>* override_response_headers) { |
41 return net::OK; | 41 return net::OK; |
42 } | 42 } |
43 | 43 |
44 void ShellNetworkDelegate::OnBeforeRedirect(net::URLRequest* request, | 44 void ShellNetworkDelegate::OnBeforeRedirect(net::URLRequest* request, |
45 const GURL& new_location) { | 45 const GURL& new_location) { |
46 } | 46 } |
47 | 47 |
48 void ShellNetworkDelegate::OnResponseStarted(net::URLRequest* request) { | 48 void ShellNetworkDelegate::OnResponseStarted(net::URLRequest* request) { |
49 } | 49 } |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 const net::CompletionCallback& callback) { | 96 const net::CompletionCallback& callback) { |
97 return net::OK; | 97 return net::OK; |
98 } | 98 } |
99 | 99 |
100 void ShellNetworkDelegate::OnRequestWaitStateChange( | 100 void ShellNetworkDelegate::OnRequestWaitStateChange( |
101 const net::URLRequest& request, | 101 const net::URLRequest& request, |
102 RequestWaitState waiting) { | 102 RequestWaitState waiting) { |
103 } | 103 } |
104 | 104 |
105 } // namespace content | 105 } // namespace content |
OLD | NEW |