| Index: chrome/browser/chromeos/drive/file_system/touch_operation.h
|
| diff --git a/chrome/browser/chromeos/drive/file_system/touch_operation.h b/chrome/browser/chromeos/drive/file_system/touch_operation.h
|
| index 9b0c99b1daa1a87ff05f82cc0b0501e2e9ae904a..7a1cb3183f956de2068c6e91d8c31741ca953f68 100644
|
| --- a/chrome/browser/chromeos/drive/file_system/touch_operation.h
|
| +++ b/chrome/browser/chromeos/drive/file_system/touch_operation.h
|
| @@ -27,7 +27,6 @@ namespace internal {
|
| class ResourceMetadata;
|
| } // namespace internal
|
|
|
| -class JobScheduler;
|
| class ResourceEntry;
|
|
|
| namespace file_system {
|
| @@ -38,7 +37,6 @@ class TouchOperation {
|
| public:
|
| TouchOperation(base::SequencedTaskRunner* blocking_task_runner,
|
| OperationObserver* observer,
|
| - JobScheduler* scheduler,
|
| internal::ResourceMetadata* metadata);
|
| ~TouchOperation();
|
|
|
| @@ -51,29 +49,14 @@ class TouchOperation {
|
| const FileOperationCallback& callback);
|
|
|
| private:
|
| - // Part of TouchFile(). Runs after GetResourceEntry is completed.
|
| - void TouchFileAfterGetResourceEntry(const base::Time& last_access_time,
|
| - const base::Time& last_modified_time,
|
| + // Part of TouchFile(). Runs after updating the local state.
|
| + void TouchFileAfterUpdateLocalState(const base::FilePath& file_path,
|
| const FileOperationCallback& callback,
|
| - ResourceEntry* entry,
|
| + const std::string* local_id,
|
| FileError error);
|
|
|
| - // Part of TouchFile(). Runs after the server side update for last access time
|
| - // and last modified time is completed.
|
| - void TouchFileAfterServerTimeStampUpdated(
|
| - const std::string& local_id,
|
| - const FileOperationCallback& callback,
|
| - google_apis::GDataErrorCode gdata_error,
|
| - scoped_ptr<google_apis::ResourceEntry> resource_entry);
|
| -
|
| - // Part of TouchFile(). Runs after refreshing the local metadata is completed.
|
| - void TouchFileAfterRefreshMetadata(const base::FilePath* file_path,
|
| - const FileOperationCallback& callback,
|
| - FileError error);
|
| -
|
| scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_;
|
| OperationObserver* observer_;
|
| - JobScheduler* scheduler_;
|
| internal::ResourceMetadata* metadata_;
|
|
|
| // Note: This should remain the last member so it'll be destroyed and
|
|
|