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

Unified Diff: net/proxy/proxy_script_fetcher_impl_unittest.cc

Issue 10855209: Refactoring: ProtocolHandler::MaybeCreateJob takes NetworkDelegate as argument (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Latest merge Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/test/net/url_request_slow_http_job.cc ('k') | net/url_request/data_protocol_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/proxy_script_fetcher_impl_unittest.cc
diff --git a/net/proxy/proxy_script_fetcher_impl_unittest.cc b/net/proxy/proxy_script_fetcher_impl_unittest.cc
index bd6404b29931f623911d0f87408bf5865bb4ea08..7ece88cabd4737792e234485f38ecfa789c4b0c4 100644
--- a/net/proxy/proxy_script_fetcher_impl_unittest.cc
+++ b/net/proxy/proxy_script_fetcher_impl_unittest.cc
@@ -49,19 +49,21 @@ struct FetchResult {
class CheckNoRevocationFlagSetInterceptor :
public URLRequestJobFactory::Interceptor {
public:
- virtual URLRequestJob* MaybeIntercept(URLRequest* request) const OVERRIDE {
+ virtual URLRequestJob* MaybeIntercept(
+ URLRequest* request, NetworkDelegate* network_delegate) const OVERRIDE {
EXPECT_TRUE(request->load_flags() & LOAD_DISABLE_CERT_REVOCATION_CHECKING);
return NULL;
}
- virtual URLRequestJob* MaybeInterceptRedirect(const GURL& location,
- URLRequest* request)
- const OVERRIDE {
+ virtual URLRequestJob* MaybeInterceptRedirect(
+ const GURL& location,
+ URLRequest* request,
+ NetworkDelegate* network_delegate) const OVERRIDE {
return NULL;
}
- virtual URLRequestJob* MaybeInterceptResponse(URLRequest* request)
- const OVERRIDE{
+ virtual URLRequestJob* MaybeInterceptResponse(
+ URLRequest* request, NetworkDelegate* network_delegate) const OVERRIDE {
return NULL;
}
};
« no previous file with comments | « content/test/net/url_request_slow_http_job.cc ('k') | net/url_request/data_protocol_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698