#include "chrome/browser/sync_file_system/drive_backend/drive_uploader_wrapper.h"
#include "base/memory/weak_ptr.h"
#include "components/drive/drive_uploader.h"
namespace sync_file_system {
namespace drive_backend {
DriveUploaderWrapper::DriveUploaderWrapper(
drive::DriveUploaderInterface* drive_uploader)
: … { … }
DriveUploaderWrapper::~DriveUploaderWrapper() = default;
void DriveUploaderWrapper::UploadExistingFile(
const std::string& resource_id,
const base::FilePath& local_file_path,
const std::string& content_type,
const drive::UploadExistingFileOptions& options,
drive::UploadCompletionCallback callback) { … }
void DriveUploaderWrapper::UploadNewFile(
const std::string& parent_resource_id,
const base::FilePath& local_file_path,
const std::string& title,
const std::string& content_type,
const drive::UploadNewFileOptions& options,
drive::UploadCompletionCallback callback) { … }
}
}