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

Side by Side Diff: content/shell/shell_network_delegate.cc

Issue 10944013: Make original_response_headers parameter of NetworkDelegate::OnHeadersReceived const (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with ToT Created 8 years, 2 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 "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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698