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 // TODO(mmenke): Investigate if enable_load_timing is safe to remove. |
| 79 // True if load timing data should be collected for the request. |
| 80 bool enable_load_timing; |
| 81 |
78 // Extra data associated with this request. We do not own this pointer. | 82 // Extra data associated with this request. We do not own this pointer. |
79 blink::WebURLRequest::ExtraData* extra_data; | 83 blink::WebURLRequest::ExtraData* extra_data; |
80 | 84 |
81 private: | 85 private: |
82 DISALLOW_COPY_AND_ASSIGN(RequestInfo); | 86 DISALLOW_COPY_AND_ASSIGN(RequestInfo); |
83 }; | 87 }; |
84 | 88 |
85 } // namespace content | 89 } // namespace content |
86 | 90 |
87 #endif // CONTENT_CHILD_REQUEST_INFO_H_ | 91 #endif // CONTENT_CHILD_REQUEST_INFO_H_ |
OLD | NEW |