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

Side by Side Diff: android_webview/browser/net/aw_network_delegate.h

Issue 154473002: Support redirectUrl at onHeadersReceived in WebRequest / DWR API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix WebRequestRulesRegistrySimpleTest.StageChecker test Created 6 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
« no previous file with comments | « no previous file | android_webview/browser/net/aw_network_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef ANDROID_WEBVIEW_BROWSER_NET_AW_NETWORK_DELEGATE_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_NET_AW_NETWORK_DELEGATE_H_
6 #define ANDROID_WEBVIEW_BROWSER_NET_AW_NETWORK_DELEGATE_H_ 6 #define ANDROID_WEBVIEW_BROWSER_NET_AW_NETWORK_DELEGATE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "net/base/network_delegate.h" 9 #include "net/base/network_delegate.h"
10 10
(...skipping 12 matching lines...) Expand all
23 GURL* new_url) OVERRIDE; 23 GURL* new_url) OVERRIDE;
24 virtual int OnBeforeSendHeaders(net::URLRequest* request, 24 virtual int OnBeforeSendHeaders(net::URLRequest* request,
25 const net::CompletionCallback& callback, 25 const net::CompletionCallback& callback,
26 net::HttpRequestHeaders* headers) OVERRIDE; 26 net::HttpRequestHeaders* headers) OVERRIDE;
27 virtual void OnSendHeaders(net::URLRequest* request, 27 virtual void OnSendHeaders(net::URLRequest* request,
28 const net::HttpRequestHeaders& headers) OVERRIDE; 28 const net::HttpRequestHeaders& headers) OVERRIDE;
29 virtual int OnHeadersReceived( 29 virtual int OnHeadersReceived(
30 net::URLRequest* request, 30 net::URLRequest* request,
31 const net::CompletionCallback& callback, 31 const net::CompletionCallback& callback,
32 const net::HttpResponseHeaders* original_response_headers, 32 const net::HttpResponseHeaders* original_response_headers,
33 scoped_refptr<net::HttpResponseHeaders>* override_response_headers) 33 scoped_refptr<net::HttpResponseHeaders>* override_response_headers,
34 OVERRIDE; 34 GURL* allowed_unsafe_redirect_url) OVERRIDE;
35 virtual void OnBeforeRedirect(net::URLRequest* request, 35 virtual void OnBeforeRedirect(net::URLRequest* request,
36 const GURL& new_location) OVERRIDE; 36 const GURL& new_location) OVERRIDE;
37 virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE; 37 virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE;
38 virtual void OnRawBytesRead(const net::URLRequest& request, 38 virtual void OnRawBytesRead(const net::URLRequest& request,
39 int bytes_read) OVERRIDE; 39 int bytes_read) OVERRIDE;
40 virtual void OnCompleted(net::URLRequest* request, bool started) OVERRIDE; 40 virtual void OnCompleted(net::URLRequest* request, bool started) OVERRIDE;
41 virtual void OnURLRequestDestroyed(net::URLRequest* request) OVERRIDE; 41 virtual void OnURLRequestDestroyed(net::URLRequest* request) OVERRIDE;
42 virtual void OnPACScriptError(int line_number, 42 virtual void OnPACScriptError(int line_number,
43 const base::string16& error) OVERRIDE; 43 const base::string16& error) OVERRIDE;
44 virtual net::NetworkDelegate::AuthRequiredResponse OnAuthRequired( 44 virtual net::NetworkDelegate::AuthRequiredResponse OnAuthRequired(
(...skipping 13 matching lines...) Expand all
58 virtual int OnBeforeSocketStreamConnect( 58 virtual int OnBeforeSocketStreamConnect(
59 net::SocketStream* stream, 59 net::SocketStream* stream,
60 const net::CompletionCallback& callback) OVERRIDE; 60 const net::CompletionCallback& callback) OVERRIDE;
61 61
62 DISALLOW_COPY_AND_ASSIGN(AwNetworkDelegate); 62 DISALLOW_COPY_AND_ASSIGN(AwNetworkDelegate);
63 }; 63 };
64 64
65 } // namespace android_webview 65 } // namespace android_webview
66 66
67 #endif // ANDROID_WEBVIEW_BROWSER_NET_AW_NETWORK_DELEGATE_H_ 67 #endif // ANDROID_WEBVIEW_BROWSER_NET_AW_NETWORK_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/browser/net/aw_network_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698