| OLD | NEW |
| 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 // TODO(mmenke): Investigate if enable_load_timing is safe to remove. | 92 // TODO(mmenke): Investigate if enable_load_timing is safe to remove. |
| 93 // True if load timing data should be collected for the request. | 93 // True if load timing data should be collected for the request. |
| 94 bool enable_load_timing; | 94 bool enable_load_timing; |
| 95 | 95 |
| 96 // True if upload progress should be available. | 96 // True if upload progress should be available. |
| 97 bool enable_upload_progress; | 97 bool enable_upload_progress; |
| 98 | 98 |
| 99 // True if login prompts for this request should be supressed. Cached |
| 100 // credentials or default credentials may still be used for authentication. |
| 101 bool do_not_prompt_for_login; |
| 102 |
| 99 // Extra data associated with this request. We do not own this pointer. | 103 // Extra data associated with this request. We do not own this pointer. |
| 100 blink::WebURLRequest::ExtraData* extra_data; | 104 blink::WebURLRequest::ExtraData* extra_data; |
| 101 | 105 |
| 102 private: | 106 private: |
| 103 DISALLOW_COPY_AND_ASSIGN(RequestInfo); | 107 DISALLOW_COPY_AND_ASSIGN(RequestInfo); |
| 104 }; | 108 }; |
| 105 | 109 |
| 106 } // namespace content | 110 } // namespace content |
| 107 | 111 |
| 108 #endif // CONTENT_CHILD_REQUEST_INFO_H_ | 112 #endif // CONTENT_CHILD_REQUEST_INFO_H_ |
| OLD | NEW |