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

Side by Side Diff: android_webview/browser/net/aw_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 "android_webview/browser/net/aw_network_delegate.h" 5 #include "android_webview/browser/net/aw_network_delegate.h"
6 6
7 #include "android_webview/browser/aw_cookie_access_policy.h" 7 #include "android_webview/browser/aw_cookie_access_policy.h"
8 #include "net/base/net_errors.h" 8 #include "net/base/net_errors.h"
9 #include "net/base/completion_callback.h" 9 #include "net/base/completion_callback.h"
10 #include "net/url_request/url_request.h" 10 #include "net/url_request/url_request.h"
(...skipping 20 matching lines...) Expand all
31 return net::OK; 31 return net::OK;
32 } 32 }
33 33
34 void AwNetworkDelegate::OnSendHeaders(net::URLRequest* request, 34 void AwNetworkDelegate::OnSendHeaders(net::URLRequest* request,
35 const net::HttpRequestHeaders& headers) { 35 const net::HttpRequestHeaders& headers) {
36 } 36 }
37 37
38 int AwNetworkDelegate::OnHeadersReceived( 38 int AwNetworkDelegate::OnHeadersReceived(
39 net::URLRequest* request, 39 net::URLRequest* request,
40 const net::CompletionCallback& callback, 40 const net::CompletionCallback& callback,
41 net::HttpResponseHeaders* original_response_headers, 41 const net::HttpResponseHeaders* original_response_headers,
42 scoped_refptr<net::HttpResponseHeaders>* override_response_headers) { 42 scoped_refptr<net::HttpResponseHeaders>* override_response_headers) {
43 return net::OK; 43 return net::OK;
44 } 44 }
45 45
46 void AwNetworkDelegate::OnBeforeRedirect(net::URLRequest* request, 46 void AwNetworkDelegate::OnBeforeRedirect(net::URLRequest* request,
47 const GURL& new_location) { 47 const GURL& new_location) {
48 } 48 }
49 49
50 void AwNetworkDelegate::OnResponseStarted(net::URLRequest* request) { 50 void AwNetworkDelegate::OnResponseStarted(net::URLRequest* request) {
51 } 51 }
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 net::SocketStream* stream, 100 net::SocketStream* stream,
101 const net::CompletionCallback& callback) { 101 const net::CompletionCallback& callback) {
102 return net::OK; 102 return net::OK;
103 } 103 }
104 104
105 void AwNetworkDelegate::OnRequestWaitStateChange(const net::URLRequest& request, 105 void AwNetworkDelegate::OnRequestWaitStateChange(const net::URLRequest& request,
106 RequestWaitState state) { 106 RequestWaitState state) {
107 } 107 }
108 108
109 } // namespace android_webview 109 } // namespace android_webview
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698