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