Index: content/common/resource_request_completion_status.h |
diff --git a/content/common/resource_request_completion_status.h b/content/common/resource_request_completion_status.h |
deleted file mode 100644 |
index 073704e269484eae420151a5846717904430388e..0000000000000000000000000000000000000000 |
--- a/content/common/resource_request_completion_status.h |
+++ /dev/null |
@@ -1,49 +0,0 @@ |
-// Copyright 2016 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef CONTENT_COMMON_RESOURCE_REQUEST_COMPLETION_STATUS_H_ |
-#define CONTENT_COMMON_RESOURCE_REQUEST_COMPLETION_STATUS_H_ |
- |
-#include <stdint.h> |
-#include <string> |
- |
-#include "base/time/time.h" |
-#include "content/common/content_export.h" |
- |
-namespace content { |
- |
-struct CONTENT_EXPORT ResourceRequestCompletionStatus { |
- ResourceRequestCompletionStatus(); |
- ResourceRequestCompletionStatus( |
- const ResourceRequestCompletionStatus& status); |
- explicit ResourceRequestCompletionStatus(int64_t length); |
- // Sets error_code to net::OK, completition_time to base::TimeTicks::Now(), |
- // and encoded_data_length = encoded_body_length = |length|; |
- ~ResourceRequestCompletionStatus(); |
- |
- // The error code. |
- int error_code = 0; |
- |
- // Was ignored by the request handler. |
- bool was_ignored_by_handler = false; |
- |
- // A copy of the data requested exists in the cache. |
- bool exists_in_cache = false; |
- |
- // Time the request completed. |
- base::TimeTicks completion_time; |
- |
- // Total amount of data received from the network. |
- int64_t encoded_data_length = 0; |
- |
- // The length of the response body before removing any content encodings. |
- int64_t encoded_body_length = 0; |
- |
- // The length of the response body after decoding. |
- int64_t decoded_body_length = 0; |
-}; |
- |
-} // namespace content |
- |
-#endif // CONTENT_COMMON_RESOURCE_REQUEST_COMPLETION_STATUS_H_ |