| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_COMMON_RESOURCE_REQUEST_COMPLETION_STATUS_H_ | 5 #ifndef CONTENT_PUBLIC_COMMON_RESOURCE_REQUEST_COMPLETION_STATUS_H_ |
| 6 #define CONTENT_COMMON_RESOURCE_REQUEST_COMPLETION_STATUS_H_ | 6 #define CONTENT_PUBLIC_COMMON_RESOURCE_REQUEST_COMPLETION_STATUS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/time/time.h" | 11 #include "base/time/time.h" |
| 12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
| 13 | 13 |
| 14 namespace content { | 14 namespace content { |
| 15 | 15 |
| 16 struct CONTENT_EXPORT ResourceRequestCompletionStatus { | 16 struct CONTENT_EXPORT ResourceRequestCompletionStatus { |
| (...skipping 22 matching lines...) Expand all Loading... |
| 39 | 39 |
| 40 // The length of the response body before removing any content encodings. | 40 // The length of the response body before removing any content encodings. |
| 41 int64_t encoded_body_length = 0; | 41 int64_t encoded_body_length = 0; |
| 42 | 42 |
| 43 // The length of the response body after decoding. | 43 // The length of the response body after decoding. |
| 44 int64_t decoded_body_length = 0; | 44 int64_t decoded_body_length = 0; |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 } // namespace content | 47 } // namespace content |
| 48 | 48 |
| 49 #endif // CONTENT_COMMON_RESOURCE_REQUEST_COMPLETION_STATUS_H_ | 49 #endif // CONTENT_PUBLIC_COMMON_RESOURCE_REQUEST_COMPLETION_STATUS_H_ |
| OLD | NEW |