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

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

Issue 2053693002: WIP: Move 'Upgrade-Insecure-Requests' to the browser process. Base URL: https://chromium.googlesource.com/chromium/src.git@replicate
Patch Set: Rebase. :( Created 3 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 unified diff | 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 »
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 #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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 const HttpUserAgentSettings* http_user_agent_settings); 56 const HttpUserAgentSettings* http_user_agent_settings);
57 57
58 ~URLRequestHttpJob() override; 58 ~URLRequestHttpJob() override;
59 59
60 // Overridden from URLRequestJob: 60 // Overridden from URLRequestJob:
61 void SetPriority(RequestPriority priority) override; 61 void SetPriority(RequestPriority priority) override;
62 void Start() override; 62 void Start() override;
63 void Kill() override; 63 void Kill() override;
64 void GetConnectionAttempts(ConnectionAttempts* out) const override; 64 void GetConnectionAttempts(ConnectionAttempts* out) const override;
65 std::unique_ptr<SourceStream> SetUpSourceStream() override; 65 std::unique_ptr<SourceStream> SetUpSourceStream() override;
66 RedirectInfo ComputeRedirectInfo(const GURL& location,
67 int http_status_code) override;
66 68
67 RequestPriority priority() const { 69 RequestPriority priority() const {
68 return priority_; 70 return priority_;
69 } 71 }
70 72
71 private: 73 private:
72 enum CompletionCause { 74 enum CompletionCause {
73 ABORTED, 75 ABORTED,
74 FINISHED 76 FINISHED
75 }; 77 };
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 int64_t total_sent_bytes_from_previous_transactions_; 262 int64_t total_sent_bytes_from_previous_transactions_;
261 263
262 base::WeakPtrFactory<URLRequestHttpJob> weak_factory_; 264 base::WeakPtrFactory<URLRequestHttpJob> weak_factory_;
263 265
264 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); 266 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob);
265 }; 267 };
266 268
267 } // namespace net 269 } // namespace net
268 270
269 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ 271 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_
OLDNEW
« 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