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

Unified Diff: net/url_request/url_request_http_job.h

Issue 935333002: Update from https://crrev.com/316786 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 | « net/url_request/url_request.cc ('k') | net/url_request/url_request_http_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_http_job.h
diff --git a/net/url_request/url_request_http_job.h b/net/url_request/url_request_http_job.h
index d222357430aaa6cf3a8e877c4b2ce2216e13666a..2b942faa108d4ec2e4a78e96c91f106cf2d352c1 100644
--- a/net/url_request/url_request_http_job.h
+++ b/net/url_request/url_request_http_job.h
@@ -88,11 +88,6 @@ class NET_EXPORT_PRIVATE URLRequestHttpJob : public URLRequestJob {
// Processes the Public-Key-Pins header, if one exists.
void ProcessPublicKeyPinsHeader();
- // TODO(battre) Remove this when crbug.com/289715 is fixed.
- static void OnHeadersReceivedCallbackForDebugging(
- base::WeakPtr<URLRequestHttpJob> job,
- int result);
-
// |result| should be net::OK, or the request is canceled.
void OnHeadersReceivedCallback(int result);
void OnStartCompleted(int result);
@@ -141,9 +136,6 @@ class NET_EXPORT_PRIVATE URLRequestHttpJob : public URLRequestJob {
void UpdatePacketReadTimes() override;
void RecordPacketStats(FilterContext::StatisticSelector statistic) const;
- void RecordCompressionHistograms();
- bool IsCompressibleContent() const;
-
// Starts the transaction if extensions using the webrequest API do not
// object.
void StartTransaction();
@@ -272,14 +264,6 @@ class NET_EXPORT_PRIVATE URLRequestHttpJob : public URLRequestJob {
const HttpUserAgentSettings* http_user_agent_settings_;
- // TODO(battre) Remove this when crbug.com/289715 is fixed.
- enum TransactionState {
- TRANSACTION_WAS_NOT_INITIALIZED,
- TRANSACTION_WAS_INITIALIZED,
- TRANSACTION_WAS_DESTROYED
- };
- TransactionState transaction_state_;
-
base::WeakPtrFactory<URLRequestHttpJob> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob);
« no previous file with comments | « net/url_request/url_request.cc ('k') | net/url_request/url_request_http_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698