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

Side by Side Diff: content/child/request_info.h

Issue 1271733002: [2/3 chromium] Support redirect option of Request and "opaqueredirect" response type. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add _MODE to avoid compile error at Windows. Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CONTENT_CHILD_REQUEST_INFO_H_ 5 #ifndef CONTENT_CHILD_REQUEST_INFO_H_
6 #define CONTENT_CHILD_REQUEST_INFO_H_ 6 #define CONTENT_CHILD_REQUEST_INFO_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 // True if corresponding AppCache group should be resetted. 83 // True if corresponding AppCache group should be resetted.
84 bool should_reset_appcache; 84 bool should_reset_appcache;
85 85
86 // The request mode passed to the ServiceWorker. 86 // The request mode passed to the ServiceWorker.
87 FetchRequestMode fetch_request_mode; 87 FetchRequestMode fetch_request_mode;
88 88
89 // The credentials mode passed to the ServiceWorker. 89 // The credentials mode passed to the ServiceWorker.
90 FetchCredentialsMode fetch_credentials_mode; 90 FetchCredentialsMode fetch_credentials_mode;
91 91
92 // The redirect mode used in Fetch API.
93 FetchRedirectMode fetch_redirect_mode;
94
92 // TODO(mmenke): Investigate if enable_load_timing is safe to remove. 95 // TODO(mmenke): Investigate if enable_load_timing is safe to remove.
93 // True if load timing data should be collected for the request. 96 // True if load timing data should be collected for the request.
94 bool enable_load_timing; 97 bool enable_load_timing;
95 98
96 // True if upload progress should be available. 99 // True if upload progress should be available.
97 bool enable_upload_progress; 100 bool enable_upload_progress;
98 101
99 // True if login prompts for this request should be supressed. Cached 102 // True if login prompts for this request should be supressed. Cached
100 // credentials or default credentials may still be used for authentication. 103 // credentials or default credentials may still be used for authentication.
101 bool do_not_prompt_for_login; 104 bool do_not_prompt_for_login;
102 105
103 // Extra data associated with this request. We do not own this pointer. 106 // Extra data associated with this request. We do not own this pointer.
104 blink::WebURLRequest::ExtraData* extra_data; 107 blink::WebURLRequest::ExtraData* extra_data;
105 108
106 private: 109 private:
107 DISALLOW_COPY_AND_ASSIGN(RequestInfo); 110 DISALLOW_COPY_AND_ASSIGN(RequestInfo);
108 }; 111 };
109 112
110 } // namespace content 113 } // namespace content
111 114
112 #endif // CONTENT_CHILD_REQUEST_INFO_H_ 115 #endif // CONTENT_CHILD_REQUEST_INFO_H_
OLDNEW
« no previous file with comments | « content/browser/service_worker/service_worker_write_to_cache_job_unittest.cc ('k') | content/child/request_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698