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_upload_file_info.h" | 5 #include "chrome/browser/chromeos/gdata/gdata_upload_file_info.h" |
6 | 6 |
7 #include "base/string_number_conversions.h" | 7 #include "base/string_number_conversions.h" |
8 #include "chrome/browser/chromeos/gdata/gdata_parser.h" | 8 #include "chrome/browser/chromeos/gdata/gdata_wapi_parser.h" |
9 | 9 |
10 namespace gdata { | 10 namespace gdata { |
11 | 11 |
12 UploadFileInfo::UploadFileInfo() | 12 UploadFileInfo::UploadFileInfo() |
13 : upload_id(-1), | 13 : upload_id(-1), |
14 file_size(0), | 14 file_size(0), |
15 content_length(0), | 15 content_length(0), |
16 upload_mode(UPLOAD_INVALID), | 16 upload_mode(UPLOAD_INVALID), |
17 file_stream(NULL), | 17 file_stream(NULL), |
18 buf_len(0), | 18 buf_len(0), |
(...skipping 22 matching lines...) Expand all Loading... |
41 std::string UploadFileInfo::DebugString() const { | 41 std::string UploadFileInfo::DebugString() const { |
42 return "title=[" + title + | 42 return "title=[" + title + |
43 "], file_path=[" + file_path.value() + | 43 "], file_path=[" + file_path.value() + |
44 "], content_type=[" + content_type + | 44 "], content_type=[" + content_type + |
45 "], file_size=[" + base::UintToString(file_size) + | 45 "], file_size=[" + base::UintToString(file_size) + |
46 "], gdata_path=[" + gdata_path.value() + | 46 "], gdata_path=[" + gdata_path.value() + |
47 "]"; | 47 "]"; |
48 } | 48 } |
49 | 49 |
50 } // namespace gdata | 50 } // namespace gdata |
OLD | NEW |