| 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 ebead4344a415bfa5fbdc5b807d591cbb417cc7d..e42ddb9e6f978c9255df145c7a7930e9842da280 100644
|
| --- a/chrome/browser/chromeos/drive/file_system.h
|
| +++ b/chrome/browser/chromeos/drive/file_system.h
|
| @@ -40,6 +40,7 @@ namespace internal {
|
| class ChangeListLoader;
|
| class ResourceMetadata;
|
| class SyncClient;
|
| +class FileWriteWatcher;
|
| } // namespace internal
|
|
|
| namespace file_system {
|
| @@ -47,6 +48,7 @@ class CopyOperation;
|
| class CreateDirectoryOperation;
|
| class CreateFileOperation;
|
| class DownloadOperation;
|
| +class GetFileForSavingOperation;
|
| class MoveOperation;
|
| class OpenFileOperation;
|
| class OperationObserver;
|
| @@ -123,6 +125,8 @@ class FileSystem : public FileSystemInterface,
|
| const FileOperationCallback& callback) OVERRIDE;
|
| virtual void GetFileByPath(const base::FilePath& file_path,
|
| const GetFileCallback& callback) OVERRIDE;
|
| + virtual void GetFileByPathForSaving(const base::FilePath& file_path,
|
| + const GetFileCallback& callback) OVERRIDE;
|
| virtual void GetFileContentByPath(
|
| const base::FilePath& file_path,
|
| const GetFileContentInitializedCallback& initialized_callback,
|
| @@ -300,6 +304,7 @@ class FileSystem : public FileSystemInterface,
|
| scoped_ptr<PrefChangeRegistrar> pref_registrar_;
|
|
|
| scoped_ptr<internal::SyncClient> sync_client_;
|
| + scoped_ptr<internal::FileWriteWatcher> file_write_watcher_;
|
|
|
| // The loader is used to load the change lists.
|
| scoped_ptr<internal::ChangeListLoader> change_list_loader_;
|
| @@ -322,6 +327,8 @@ class FileSystem : public FileSystemInterface,
|
| scoped_ptr<file_system::DownloadOperation> download_operation_;
|
| scoped_ptr<file_system::UpdateOperation> update_operation_;
|
| scoped_ptr<file_system::SearchOperation> search_operation_;
|
| + scoped_ptr<file_system::GetFileForSavingOperation>
|
| + get_file_for_saving_operation_;
|
|
|
| // Note: This should remain the last member so it'll be destroyed and
|
| // invalidate the weak pointers before any other members are destroyed.
|
|
|