Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(790)

Side by Side Diff: content/public/common/resource_request_completion_status.cc

Issue 2964503003: Move NetworkService mojom files to content/public/common. (Closed)
Patch Set: Merge Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #include "content/common/resource_request_completion_status.h" 5 #include "content/public/common/resource_request_completion_status.h"
6 6
7 #include "net/base/net_errors.h" 7 #include "net/base/net_errors.h"
8 8
9 namespace content { 9 namespace content {
10 10
11 ResourceRequestCompletionStatus::ResourceRequestCompletionStatus() {} 11 ResourceRequestCompletionStatus::ResourceRequestCompletionStatus() {}
12 ResourceRequestCompletionStatus::ResourceRequestCompletionStatus( 12 ResourceRequestCompletionStatus::ResourceRequestCompletionStatus(
13 const ResourceRequestCompletionStatus& status) = default; 13 const ResourceRequestCompletionStatus& status) = default;
14 14
15 ResourceRequestCompletionStatus::ResourceRequestCompletionStatus(int64_t length) 15 ResourceRequestCompletionStatus::ResourceRequestCompletionStatus(int64_t length)
16 : error_code(net::OK), 16 : error_code(net::OK),
17 completion_time(base::TimeTicks::Now()), 17 completion_time(base::TimeTicks::Now()),
18 encoded_data_length(length), 18 encoded_data_length(length),
19 encoded_body_length(length) {} 19 encoded_body_length(length) {}
20 20
21 ResourceRequestCompletionStatus::~ResourceRequestCompletionStatus() {} 21 ResourceRequestCompletionStatus::~ResourceRequestCompletionStatus() {}
22 22
23 } // namespace content 23 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698