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

Unified Diff: chrome/browser/chromeos/gdata/gdata_file_system.h

Issue 10735059: gdata cleanup: Make GDataFileSystem::AddUploadedFile() take scoped_ptr<DocumentEntry>. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/gdata/gdata_file_system.h
diff --git a/chrome/browser/chromeos/gdata/gdata_file_system.h b/chrome/browser/chromeos/gdata/gdata_file_system.h
index c5c2503315b18bcc5ca0e06512ef175b5b98dddd..4aa3975aad72de8189f656f9d1e51dbe59df445d 100644
--- a/chrome/browser/chromeos/gdata/gdata_file_system.h
+++ b/chrome/browser/chromeos/gdata/gdata_file_system.h
@@ -381,7 +381,7 @@ class GDataFileSystemInterface {
// |callback| will be called on the UI thread upon completion of operation.
virtual void AddUploadedFile(UploadMode upload_mode,
const FilePath& virtual_dir_path,
- DocumentEntry* entry,
+ scoped_ptr<DocumentEntry> entry,
const FilePath& file_content_path,
GDataCache::FileOperationType cache_operation,
const base::Closure& callback) = 0;
@@ -466,7 +466,7 @@ class GDataFileSystem : public GDataFileSystemInterface,
const GetAvailableSpaceCallback& callback) OVERRIDE;
virtual void AddUploadedFile(UploadMode upload_mode,
const FilePath& virtual_dir_path,
- DocumentEntry* entry,
+ scoped_ptr<DocumentEntry> entry,
const FilePath& file_content_path,
GDataCache::FileOperationType cache_operation,
const base::Closure& callback) OVERRIDE;
@@ -1227,7 +1227,7 @@ class GDataFileSystem : public GDataFileSystemInterface,
void GetAvailableSpaceOnUIThread(const GetAvailableSpaceCallback& callback);
void AddUploadedFileOnUIThread(UploadMode upload_mode,
const FilePath& virtual_dir_path,
- DocumentEntry* entry,
+ scoped_ptr<DocumentEntry> entry,
const FilePath& file_content_path,
GDataCache::FileOperationType cache_operation,
const base::Closure& callback);

Powered by Google App Engine
This is Rietveld 408576698