| Index: chrome/browser/chromeos/drive/file_cache.h
|
| diff --git a/chrome/browser/chromeos/drive/file_cache.h b/chrome/browser/chromeos/drive/file_cache.h
|
| index b8e10594f5d3c8790c0b6105e0b2f174cd5fe63c..e3a85ee2804f9eec5d4f1cb8c8d789977fc83d93 100644
|
| --- a/chrome/browser/chromeos/drive/file_cache.h
|
| +++ b/chrome/browser/chromeos/drive/file_cache.h
|
| @@ -198,16 +198,6 @@ class FileCache {
|
| const base::FilePath& source_path,
|
| FileOperationType file_operation_type);
|
|
|
| - // Stores |source_path| to the cache and mark it as dirty, i.e., needs to be
|
| - // uploaded to the remove server for syncing.
|
| - // |callback| must not be null.
|
| - // Must be called on the UI thread.
|
| - void StoreLocallyModifiedOnUIThread(const std::string& resource_id,
|
| - const std::string& md5,
|
| - const base::FilePath& source_path,
|
| - FileOperationType file_operation_type,
|
| - const FileOperationCallback& callback);
|
| -
|
| // Runs Pin() on |blocking_task_runner_|, and calls |callback| with the result
|
| // asynchronously.
|
| // |callback| must not be null.
|
| @@ -257,13 +247,6 @@ class FileCache {
|
| FileError MarkDirty(const std::string& resource_id,
|
| const std::string& md5);
|
|
|
| - // Commits changes for the specified dirty entry.
|
| - // |callback| must not be null.
|
| - // Must be called on the UI thread.
|
| - void CommitDirtyOnUIThread(const std::string& resource_id,
|
| - const std::string& md5,
|
| - const FileOperationCallback& callback);
|
| -
|
| // Clears dirty state of the specified entry.
|
| FileError ClearDirty(const std::string& resource_id,
|
| const std::string& md5);
|
| @@ -375,11 +358,6 @@ class FileCache {
|
| const FileOperationCallback& callback,
|
| FileError error);
|
|
|
| - // Runs callback and notifies the observers when file is committed.
|
| - void OnCommitDirty(const std::string& resource_id,
|
| - const FileOperationCallback& callback,
|
| - FileError error);
|
| -
|
| // Returns true if we have sufficient space to store the given number of
|
| // bytes, while keeping kMinFreeSpace bytes on the disk.
|
| bool HasEnoughSpaceFor(int64 num_bytes, const base::FilePath& path);
|
|
|