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

Side by Side Diff: net/url_request/url_request_context_builder.cc

Issue 2265873002: Adjust callers and networking delegates in net/ to modified APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@URLRequestRead
Patch Set: rebased on top of URLRequest::Read CL Created 4 years, 3 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 | « net/url_request/url_fetcher_core.cc ('k') | net/url_request/url_request_data_job_fuzzer.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 #include "net/url_request/url_request_context_builder.h" 5 #include "net/url_request/url_request_context_builder.h"
6 6
7 #include <string> 7 #include <string>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 const CompletionCallback& callback, 87 const CompletionCallback& callback,
88 const HttpResponseHeaders* original_response_headers, 88 const HttpResponseHeaders* original_response_headers,
89 scoped_refptr<HttpResponseHeaders>* override_response_headers, 89 scoped_refptr<HttpResponseHeaders>* override_response_headers,
90 GURL* allowed_unsafe_redirect_url) override { 90 GURL* allowed_unsafe_redirect_url) override {
91 return OK; 91 return OK;
92 } 92 }
93 93
94 void OnBeforeRedirect(URLRequest* request, 94 void OnBeforeRedirect(URLRequest* request,
95 const GURL& new_location) override {} 95 const GURL& new_location) override {}
96 96
97 void OnResponseStarted(URLRequest* request) override {} 97 void OnResponseStarted(URLRequest* request, int net_error) override {}
98 98
99 void OnCompleted(URLRequest* request, bool started) override {} 99 void OnCompleted(URLRequest* request, bool started, int net_error) override {}
100 100
101 void OnURLRequestDestroyed(URLRequest* request) override {} 101 void OnURLRequestDestroyed(URLRequest* request) override {}
102 102
103 void OnPACScriptError(int line_number, const base::string16& error) override { 103 void OnPACScriptError(int line_number, const base::string16& error) override {
104 } 104 }
105 105
106 NetworkDelegate::AuthRequiredResponse OnAuthRequired( 106 NetworkDelegate::AuthRequiredResponse OnAuthRequired(
107 URLRequest* request, 107 URLRequest* request,
108 const AuthChallengeInfo& auth_info, 108 const AuthChallengeInfo& auth_info,
109 const AuthCallback& callback, 109 const AuthCallback& callback,
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 } 529 }
530 url_request_interceptors_.clear(); 530 url_request_interceptors_.clear();
531 } 531 }
532 storage->set_job_factory(std::move(top_job_factory)); 532 storage->set_job_factory(std::move(top_job_factory));
533 // TODO(willchan): Support sdch. 533 // TODO(willchan): Support sdch.
534 534
535 return std::move(context); 535 return std::move(context);
536 } 536 }
537 537
538 } // namespace net 538 } // namespace net
OLDNEW
« no previous file with comments | « net/url_request/url_fetcher_core.cc ('k') | net/url_request/url_request_data_job_fuzzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698