OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "content/common/resource_request_completion_status.h" | |
6 | |
7 #include "net/base/net_errors.h" | |
8 | |
9 namespace content { | |
10 | |
11 ResourceRequestCompletionStatus::ResourceRequestCompletionStatus() {} | |
12 ResourceRequestCompletionStatus::ResourceRequestCompletionStatus( | |
13 const ResourceRequestCompletionStatus& status) = default; | |
14 | |
15 ResourceRequestCompletionStatus::ResourceRequestCompletionStatus(int64_t length) | |
16 : error_code(net::OK), | |
17 completion_time(base::TimeTicks::Now()), | |
18 encoded_data_length(length), | |
19 encoded_body_length(length) {} | |
20 | |
21 ResourceRequestCompletionStatus::~ResourceRequestCompletionStatus() {} | |
22 | |
23 } // namespace content | |
OLD | NEW |