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

Side by Side Diff: net/url_request/url_request_http_job.h

Issue 10911151: URLRequestHttpJob::StartTransaction should honour network delegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removing accidentally commited code change Created 8 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 | Annotate | Revision Log
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 NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_
6 #define NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ 6 #define NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 160
161 virtual void UpdatePacketReadTimes() OVERRIDE; 161 virtual void UpdatePacketReadTimes() OVERRIDE;
162 void RecordPacketStats(FilterContext::StatisticSelector statistic) const; 162 void RecordPacketStats(FilterContext::StatisticSelector statistic) const;
163 163
164 void RecordCompressionHistograms(); 164 void RecordCompressionHistograms();
165 bool IsCompressibleContent() const; 165 bool IsCompressibleContent() const;
166 166
167 // Starts the transaction if extensions using the webrequest API do not 167 // Starts the transaction if extensions using the webrequest API do not
168 // object. 168 // object.
169 void StartTransaction(); 169 void StartTransaction();
170 void MaybeStartTransactionInternal(int result);
170 void StartTransactionInternal(); 171 void StartTransactionInternal();
171 172
172 void RecordPerfHistograms(CompletionCause reason); 173 void RecordPerfHistograms(CompletionCause reason);
173 void DoneWithRequest(CompletionCause reason); 174 void DoneWithRequest(CompletionCause reason);
174 175
175 // Callback functions for Cookie Monster 176 // Callback functions for Cookie Monster
176 void DoLoadCookies(); 177 void DoLoadCookies();
177 void CheckCookiePolicyAndLoad(const CookieList& cookie_list); 178 void CheckCookiePolicyAndLoad(const CookieList& cookie_list);
178 void OnCookiesLoaded( 179 void OnCookiesLoaded(
179 const std::string& cookie_line, 180 const std::string& cookie_line,
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 // result of, if any. If this request has not been retried, must be 0. 258 // result of, if any. If this request has not been retried, must be 0.
258 // Reset once it's been used to log histograms. 259 // Reset once it's been used to log histograms.
259 int error_before_retry_; 260 int error_before_retry_;
260 261
261 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); 262 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob);
262 }; 263 };
263 264
264 } // namespace net 265 } // namespace net
265 266
266 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ 267 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_
OLDNEW
« no previous file with comments | « no previous file | net/url_request/url_request_http_job.cc » ('j') | net/url_request/url_request_http_job.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698