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

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: Rebase @ revision 146183. 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 63f6867b5a62a854dd8acfdc484716110a99df70..923eedeb3be5728ea17b636529993a02bafa8f6b 100644
--- a/chrome/browser/chromeos/gdata/gdata_file_system.h
+++ b/chrome/browser/chromeos/gdata/gdata_file_system.h
@@ -380,7 +380,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;
@@ -465,7 +465,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;
@@ -1226,7 +1226,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);
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_download_observer.cc ('k') | chrome/browser/chromeos/gdata/gdata_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698