Index: chrome/browser/chromeos/drive/file_system.h |
diff --git a/chrome/browser/chromeos/drive/file_system.h b/chrome/browser/chromeos/drive/file_system.h |
index d980ee318c1829321c0a869ccf56856dbd4e7afd..40bc7a6b90c086d03cb1db8366226e946e3cb947 100644 |
--- a/chrome/browser/chromeos/drive/file_system.h |
+++ b/chrome/browser/chromeos/drive/file_system.h |
@@ -163,6 +163,8 @@ class FileSystem : public FileSystemInterface, |
// file_system::OperationObserver overrides. |
virtual void OnDirectoryChangedByOperation( |
const base::FilePath& directory_path) OVERRIDE; |
+ virtual void OnCacheFileUploadNeededByOperation( |
+ const std::string& resource_id) OVERRIDE; |
// ChangeListLoader::Observer overrides. |
// Used to propagate events from ChangeListLoader. |
@@ -176,9 +178,10 @@ class FileSystem : public FileSystemInterface, |
return change_list_loader_.get(); |
} |
- private: |
- friend class DriveFileSystemTest; |
+ // Used by tests. |
+ internal::SyncClient* sync_client_for_testing() { return sync_client_.get(); } |
+ private: |
// Used to implement Reload(). |
void ReloadAfterReset(FileError error); |
@@ -239,9 +242,6 @@ class FileSystem : public FileSystemInterface, |
const FileOperationCallback& callback, |
FileError error, |
scoped_ptr<ResourceEntry> entry); |
- void CloseFileFinalize(const base::FilePath& file_path, |
- const FileOperationCallback& callback, |
- FileError result); |
// Callback for handling about resource fetch. |
void OnGetAboutResource( |