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

Side by Side Diff: chrome/browser/net/chrome_extensions_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 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 | chrome/browser/net/chrome_extensions_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 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 CHROME_BROWSER_NET_CHROME_EXTENSIONS_NETWORK_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_NET_CHROME_EXTENSIONS_NETWORK_DELEGATE_H_
6 #define CHROME_BROWSER_NET_CHROME_EXTENSIONS_NETWORK_DELEGATE_H_ 6 #define CHROME_BROWSER_NET_CHROME_EXTENSIONS_NETWORK_DELEGATE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 net::URLRequest* request, 56 net::URLRequest* request,
57 const net::CompletionCallback& callback, 57 const net::CompletionCallback& callback,
58 const net::HttpResponseHeaders* original_response_headers, 58 const net::HttpResponseHeaders* original_response_headers,
59 scoped_refptr<net::HttpResponseHeaders>* override_response_headers, 59 scoped_refptr<net::HttpResponseHeaders>* override_response_headers,
60 GURL* allowed_unsafe_redirect_url) override; 60 GURL* allowed_unsafe_redirect_url) override;
61 void OnBeforeRedirect(net::URLRequest* request, 61 void OnBeforeRedirect(net::URLRequest* request,
62 const GURL& new_location) override; 62 const GURL& new_location) override;
63 void OnResponseStarted(net::URLRequest* request) override; 63 void OnResponseStarted(net::URLRequest* request) override;
64 void OnCompleted(net::URLRequest* request, bool started) override; 64 void OnCompleted(net::URLRequest* request, bool started) override;
65 void OnURLRequestDestroyed(net::URLRequest* request) override; 65 void OnURLRequestDestroyed(net::URLRequest* request) override;
66 void OnURLRequestJobOrphaned(net::URLRequest* request) override;
67 void OnPACScriptError(int line_number, const base::string16& error) override; 66 void OnPACScriptError(int line_number, const base::string16& error) override;
68 net::NetworkDelegate::AuthRequiredResponse OnAuthRequired( 67 net::NetworkDelegate::AuthRequiredResponse OnAuthRequired(
69 net::URLRequest* request, 68 net::URLRequest* request,
70 const net::AuthChallengeInfo& auth_info, 69 const net::AuthChallengeInfo& auth_info,
71 const AuthCallback& callback, 70 const AuthCallback& callback,
72 net::AuthCredentials* credentials) override; 71 net::AuthCredentials* credentials) override;
73 72
74 protected: 73 protected:
75 ChromeExtensionsNetworkDelegate(); 74 ChromeExtensionsNetworkDelegate();
76 75
77 void* profile_; 76 void* profile_;
78 77
79 #if defined(ENABLE_EXTENSIONS) 78 #if defined(ENABLE_EXTENSIONS)
80 scoped_refptr<extensions::InfoMap> extension_info_map_; 79 scoped_refptr<extensions::InfoMap> extension_info_map_;
81 #endif 80 #endif
82 81
83 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsNetworkDelegate); 82 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsNetworkDelegate);
84 }; 83 };
85 84
86 #endif // CHROME_BROWSER_NET_CHROME_EXTENSIONS_NETWORK_DELEGATE_H_ 85 #endif // CHROME_BROWSER_NET_CHROME_EXTENSIONS_NETWORK_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/net/chrome_extensions_network_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698