OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/browser/chromeos/gdata/gdata_params.h" | 5 #include "chrome/browser/chromeos/gdata/gdata_operations_callback.h" |
6 | 6 |
7 namespace gdata { | 7 namespace gdata { |
8 | 8 |
9 ResumeUploadResponse::ResumeUploadResponse(GDataErrorCode code, | 9 ResumeUploadResponse::ResumeUploadResponse(GDataErrorCode code, |
10 int64 start_range_received, | 10 int64 start_range_received, |
11 int64 end_range_received) | 11 int64 end_range_received) |
12 : code(code), | 12 : code(code), |
13 start_range_received(start_range_received), | 13 start_range_received(start_range_received), |
14 end_range_received(end_range_received) { | 14 end_range_received(end_range_received) { |
15 } | 15 } |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 content_length(content_length), | 49 content_length(content_length), |
50 content_type(content_type), | 50 content_type(content_type), |
51 buf(buf), | 51 buf(buf), |
52 upload_location(upload_location), | 52 upload_location(upload_location), |
53 virtual_path(virtual_path) { | 53 virtual_path(virtual_path) { |
54 } | 54 } |
55 | 55 |
56 ResumeUploadParams::~ResumeUploadParams() { | 56 ResumeUploadParams::~ResumeUploadParams() { |
57 } | 57 } |
58 | 58 |
59 LoadRootFeedParams::LoadRootFeedParams( | |
60 FilePath search_file_path, | |
61 bool should_load_from_server, | |
62 const FindEntryCallback& callback) | |
63 : search_file_path(search_file_path), | |
64 should_load_from_server(should_load_from_server), | |
65 load_error(GDATA_FILE_OK), | |
66 load_start_time(base::Time::Now()), | |
67 callback(callback) { | |
68 } | |
69 | |
70 LoadRootFeedParams::~LoadRootFeedParams() { | |
71 } | |
72 | |
73 } // namespace gdata | 59 } // namespace gdata |
OLD | NEW |