| 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 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_UPLOAD_FILE_INFO_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_UPLOAD_FILE_INFO_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_UPLOAD_FILE_INFO_H_ | 6 #define CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_UPLOAD_FILE_INFO_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/file_path.h" | 12 #include "base/file_path.h" |
| 13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 14 #include "chrome/browser/chromeos/gdata/gdata_errorcode.h" | 14 #include "chrome/browser/google_apis/gdata_errorcode.h" |
| 15 #include "googleurl/src/gurl.h" | 15 #include "googleurl/src/gurl.h" |
| 16 #include "net/base/io_buffer.h" | 16 #include "net/base/io_buffer.h" |
| 17 | 17 |
| 18 namespace content { | 18 namespace content { |
| 19 class DownloadItem; | 19 class DownloadItem; |
| 20 } | 20 } |
| 21 | 21 |
| 22 namespace net { | 22 namespace net { |
| 23 class FileStream; | 23 class FileStream; |
| 24 } | 24 } |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 | 91 |
| 92 // Callback to be invoked once the upload has completed. | 92 // Callback to be invoked once the upload has completed. |
| 93 typedef base::Callback<void(DriveFileError error, | 93 typedef base::Callback<void(DriveFileError error, |
| 94 scoped_ptr<UploadFileInfo> upload_file_info)> UploadCompletionCallback; | 94 scoped_ptr<UploadFileInfo> upload_file_info)> UploadCompletionCallback; |
| 95 UploadCompletionCallback completion_callback; | 95 UploadCompletionCallback completion_callback; |
| 96 }; | 96 }; |
| 97 | 97 |
| 98 } // namespace gdata | 98 } // namespace gdata |
| 99 | 99 |
| 100 #endif // CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_UPLOAD_FILE_INFO_H_ | 100 #endif // CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_UPLOAD_FILE_INFO_H_ |
| OLD | NEW |