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

Side by Side Diff: net/base/layered_network_delegate.h

Issue 1465503002: Revert of CHECK that URLRequestJobs are not orphaned while blocked by extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make git do the revert Created 5 years, 1 month 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 NET_BASE_LAYERED_NETWORK_DELEGATE_H_ 5 #ifndef NET_BASE_LAYERED_NETWORK_DELEGATE_H_
6 #define NET_BASE_LAYERED_NETWORK_DELEGATE_H_ 6 #define NET_BASE_LAYERED_NETWORK_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 const HttpResponseHeaders* original_response_headers, 62 const HttpResponseHeaders* original_response_headers,
63 scoped_refptr<HttpResponseHeaders>* override_response_headers, 63 scoped_refptr<HttpResponseHeaders>* override_response_headers,
64 GURL* allowed_unsafe_redirect_url) final; 64 GURL* allowed_unsafe_redirect_url) final;
65 void OnBeforeRedirect(URLRequest* request, const GURL& new_location) final; 65 void OnBeforeRedirect(URLRequest* request, const GURL& new_location) final;
66 void OnResponseStarted(URLRequest* request) final; 66 void OnResponseStarted(URLRequest* request) final;
67 void OnNetworkBytesReceived(URLRequest* request, 67 void OnNetworkBytesReceived(URLRequest* request,
68 int64_t bytes_received) final; 68 int64_t bytes_received) final;
69 void OnNetworkBytesSent(URLRequest* request, int64_t bytes_sent) final; 69 void OnNetworkBytesSent(URLRequest* request, int64_t bytes_sent) final;
70 void OnCompleted(URLRequest* request, bool started) final; 70 void OnCompleted(URLRequest* request, bool started) final;
71 void OnURLRequestDestroyed(URLRequest* request) final; 71 void OnURLRequestDestroyed(URLRequest* request) final;
72 void OnURLRequestJobOrphaned(URLRequest* request) final;
73 void OnPACScriptError(int line_number, const base::string16& error) final; 72 void OnPACScriptError(int line_number, const base::string16& error) final;
74 AuthRequiredResponse OnAuthRequired(URLRequest* request, 73 AuthRequiredResponse OnAuthRequired(URLRequest* request,
75 const AuthChallengeInfo& auth_info, 74 const AuthChallengeInfo& auth_info,
76 const AuthCallback& callback, 75 const AuthCallback& callback,
77 AuthCredentials* credentials) final; 76 AuthCredentials* credentials) final;
78 bool OnCanGetCookies(const URLRequest& request, 77 bool OnCanGetCookies(const URLRequest& request,
79 const CookieList& cookie_list) final; 78 const CookieList& cookie_list) final;
80 bool OnCanSetCookie(const URLRequest& request, 79 bool OnCanSetCookie(const URLRequest& request,
81 const std::string& cookie_line, 80 const std::string& cookie_line,
82 CookieOptions* options) final; 81 CookieOptions* options) final;
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 const GURL& target_url, 164 const GURL& target_url,
166 const GURL& referrer_url) const; 165 const GURL& referrer_url) const;
167 166
168 private: 167 private:
169 scoped_ptr<NetworkDelegate> nested_network_delegate_; 168 scoped_ptr<NetworkDelegate> nested_network_delegate_;
170 }; 169 };
171 170
172 } // namespace net 171 } // namespace net
173 172
174 #endif // NET_BASE_LAYERED_NETWORK_DELEGATE_H_ 173 #endif // NET_BASE_LAYERED_NETWORK_DELEGATE_H_
OLDNEW
« no previous file with comments | « extensions/browser/api/web_request/web_request_api.cc ('k') | net/base/layered_network_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698