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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 // Used to associated the bridge with a frame's network context. | 68 // Used to associated the bridge with a frame's network context. |
69 int routing_id; | 69 int routing_id; |
70 | 70 |
71 // If true, then the response body will be downloaded to a file and the | 71 // If true, then the response body will be downloaded to a file and the |
72 // path to that file will be provided in ResponseInfo::download_file_path. | 72 // path to that file will be provided in ResponseInfo::download_file_path. |
73 bool download_to_file; | 73 bool download_to_file; |
74 | 74 |
75 // True if the request was user initiated. | 75 // True if the request was user initiated. |
76 bool has_user_gesture; | 76 bool has_user_gesture; |
77 | 77 |
| 78 // True if the request should not be handled by the ServiceWorker. |
| 79 bool skip_service_worker; |
| 80 |
78 // TODO(mmenke): Investigate if enable_load_timing is safe to remove. | 81 // TODO(mmenke): Investigate if enable_load_timing is safe to remove. |
79 // True if load timing data should be collected for the request. | 82 // True if load timing data should be collected for the request. |
80 bool enable_load_timing; | 83 bool enable_load_timing; |
81 | 84 |
82 // Extra data associated with this request. We do not own this pointer. | 85 // Extra data associated with this request. We do not own this pointer. |
83 blink::WebURLRequest::ExtraData* extra_data; | 86 blink::WebURLRequest::ExtraData* extra_data; |
84 | 87 |
85 private: | 88 private: |
86 DISALLOW_COPY_AND_ASSIGN(RequestInfo); | 89 DISALLOW_COPY_AND_ASSIGN(RequestInfo); |
87 }; | 90 }; |
88 | 91 |
89 } // namespace content | 92 } // namespace content |
90 | 93 |
91 #endif // CONTENT_CHILD_REQUEST_INFO_H_ | 94 #endif // CONTENT_CHILD_REQUEST_INFO_H_ |
OLD | NEW |