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

Side by Side Diff: chrome/browser/chromeos/gdata/drive_upload_file_info.cc

Issue 10919093: Rename GDataUplaoder to DriveUploader (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix after rebase Created 8 years, 3 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 | Annotate | Revision Log
OLDNEW
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/drive_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_wapi_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),
(...skipping 20 matching lines...) Expand all
36 DCHECK(file_size > end_range); 36 DCHECK(file_size > end_range);
37 // Note that uploaded_bytes = end_range + 1; 37 // Note that uploaded_bytes = end_range + 1;
38 return file_size - end_range - 1; 38 return file_size - end_range - 1;
39 } 39 }
40 40
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 "], drive_path=[" + drive_path.value() +
47 "]"; 47 "]";
48 } 48 }
49 49
50 } // namespace gdata 50 } // namespace gdata
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/gdata/drive_upload_file_info.h ('k') | chrome/browser/chromeos/gdata/drive_uploader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698